Krzysztof Gabis
|
ee9be98974
|
Handling realloc, strdup and strndup errors.
Also moved void* cast in free to the parson_free macro.
|
12 years ago |
Krzysztof Gabis
|
1f7049dd47
|
Fixed wrong conditional error and defined realloc as a macro.
Thanks to eps for pointing it out :)
|
12 years ago |
Krzysztof Gabis
|
2684eeb360
|
Not parsing hex and octal values, refractoring, code cleanup, new tests.
Also changed parson_strndup and parson_strdup to be static.
|
12 years ago |
Krzysztof Gabis
|
120f5a08da
|
Defined malloc and free as macros, also small refractoring.
And changes to the readme file.
|
12 years ago |
Krzysztof Gabis
|
5edab75bdc
|
Checking malloc errors, added limits on nesting and object/array size.
Also small refractoring and one new test regarding nesting.
|
12 years ago |
Krzysztof Gabis
|
9e64c0f031
|
Changed int to size_t to avoid signed/unsigned comparisons
|
12 years ago |
Krzysztof Gabis
|
410807850e
|
Fixed some compatibility issues with C++ compilers.
Added error type to json value types. Also implemented strdup and strndup, since they can be problematic and are not implemented everywhere.
|
12 years ago |
Krzysztof Gabis
|
2740213c5c
|
Renamed bool to boolean.
Naming variables bool is a poor idea, even in C.
|
12 years ago |
Krzysztof Gabis
|
cad9bda1e4
|
Included stddef.h in parson.c
|
12 years ago |
Krzysztof Gabis
|
de829803e3
|
Initial commit.
|
12 years ago |