-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit 7d79114
Enables public access to features previously marked private.
Stream::parseInt & Stream::parseFloat previously had protected
overloads which allowed skipping a custom character. This commit
brings this feature to the public interface.
During the implementation of
Chris--A@1397023
the protected method was effectively replaced by an incompatible two
parameter version. The single parameter version has been re-included
for backwards compatibility with classes deriving Stream that may
have called the protected member.
To keep the public API simpler, this overload remains protected.
However its functionality is available in the public interface using
the two parameter overload.1 parent b2f20a6 commit 7d79114
File tree
4 files changed
+38
-55
lines changed- hardware/arduino
- avr/cores/arduino
- sam/cores/arduino
4 files changed
+38
-55
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 | - | ||
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
| |||
121 | 120 |
| |
122 | 121 |
| |
123 | 122 |
| |
124 | - | ||
125 | 123 |
| |
126 | 124 |
| |
127 | 125 |
| |
128 | - | ||
129 | - | ||
130 | - | ||
131 | - | ||
132 | - | ||
133 | - | ||
134 | - | ||
126 | + | ||
127 | + | ||
135 | 128 |
| |
136 | 129 |
| |
137 | 130 |
| |
| |||
160 | 153 |
| |
161 | 154 |
| |
162 | 155 |
| |
163 | - | ||
164 | 156 |
| |
165 | - | ||
166 | - | ||
167 | - | ||
168 | - | ||
169 | - | ||
170 | - | ||
171 | - | ||
172 | 157 |
| |
173 | 158 |
| |
174 | 159 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 | + | ||
48 | + | ||
47 | 49 |
| |
48 | 50 |
| |
49 | 51 |
| |
| |||
81 | 83 |
| |
82 | 84 |
| |
83 | 85 |
| |
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
84 | 92 |
| |
85 | - | ||
86 | - | ||
87 | - | ||
88 | - | ||
89 | - | ||
93 | + | ||
94 | + | ||
90 | 95 |
| |
91 | 96 |
| |
92 | 97 |
| |
| |||
103 | 108 |
| |
104 | 109 |
| |
105 | 110 |
| |
106 | - | ||
107 | - | ||
108 | - | ||
109 | 111 |
| |
110 | - | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
111 | 117 |
| |
112 | 118 |
| |
113 | 119 |
| |
| |||
120 | 126 |
| |
121 | 127 |
| |
122 | 128 |
| |
123 | - | ||
129 | + | ||
124 | 130 |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 | - | ||
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
| |||
54 | 53 |
| |
55 | 54 |
| |
56 | 55 |
| |
57 | - | ||
56 | + | ||
58 | 57 |
| |
59 | 58 |
| |
60 | 59 |
| |
| |||
121 | 120 |
| |
122 | 121 |
| |
123 | 122 |
| |
124 | - | ||
125 | 123 |
| |
126 | 124 |
| |
127 | 125 |
| |
128 | - | ||
129 | - | ||
130 | - | ||
131 | - | ||
132 | - | ||
133 | - | ||
134 | - | ||
126 | + | ||
127 | + | ||
135 | 128 |
| |
136 | 129 |
| |
137 | 130 |
| |
| |||
160 | 153 |
| |
161 | 154 |
| |
162 | 155 |
| |
163 | - | ||
164 | 156 |
| |
165 | - | ||
166 | - | ||
167 | - | ||
168 | - | ||
169 | - | ||
170 | - | ||
171 | - | ||
172 | 157 |
| |
173 | 158 |
| |
174 | 159 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 | + | ||
48 | + | ||
47 | 49 |
| |
48 | 50 |
| |
49 | 51 |
| |
| |||
74 | 76 |
| |
75 | 77 |
| |
76 | 78 |
| |
77 | - | ||
79 | + | ||
78 | 80 |
| |
79 | 81 |
| |
80 | 82 |
| |
81 | 83 |
| |
82 | 84 |
| |
83 | 85 |
| |
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
84 | 92 |
| |
85 | - | ||
86 | - | ||
87 | - | ||
88 | - | ||
89 | - | ||
93 | + | ||
94 | + | ||
90 | 95 |
| |
91 | 96 |
| |
92 | 97 |
| |
| |||
103 | 108 |
| |
104 | 109 |
| |
105 | 110 |
| |
106 | - | ||
107 | - | ||
108 | - | ||
109 | 111 |
| |
110 | - | ||
112 | + | ||
113 | + | ||
114 | + | ||
115 | + | ||
116 | + | ||
111 | 117 |
| |
112 | 118 |
| |
113 | 119 |
| |
| |||
120 | 126 |
| |
121 | 127 |
| |
122 | 128 |
| |
129 | + | ||
123 | 130 |
|
0 commit comments