Re: [3/4] webservices: Reset the read position if an opening bracket is not followed by a valid name character.
6 Apr
2016
6 Apr
'16
12:46 p.m.
On 06.04.2016 14:09, Hans Leidekker wrote:
+static inline void read_rewind( struct reader *reader, unsigned int count ) +{ + while (reader->read_pos && count) + { + reader->read_pos--; + count--; + } +}
I know its also done similar in the function above, but it still looks weird to me. Is it really necessary to unroll simple math functions like addition and subtraction?
3539
Age (days ago)
3539
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sebastian Lackner