Max Bruckner
79f30800ec
Move print depth into printbuffer
2017-04-27 02:10:03 +02:00
Max Bruckner
c08f7e1d29
print_number: Make locale independent
...
This first prints the number into a temporary buffer and then copies the
number to the output.
A positive side effect is that cJSON no longer reserves more space for
the number in the output than is necessary.
2017-04-08 03:38:49 +02:00
Max Bruckner
4ec6e76ea2
tests: print_number: Fix build on 32bit ppc (and potentially others)
2017-03-18 13:25:18 +01:00
Max Bruckner
1749de02f8
print_number: return boolean instead of pointer
2017-03-03 00:26:58 +01:00
Max Bruckner
0c0dd4a5b0
tests: test trim_trailing_zeroes
2017-03-01 18:29:01 +01:00
Max Bruckner
1ea72f8260
print_number: Remove trailing zeroes (for doubles)
2017-03-01 13:22:32 +01:00
Max Bruckner
68cd0d4a11
cJSON.c: Pass allocation functions through internal functions
...
This is the first step in removing the global allocator functions. Every
internal function now only accesses its locally available set of
allocators.
2017-02-21 14:50:49 +01:00
Max Bruckner
924122904e
tests: print_number
2017-02-20 11:11:01 +01:00