This commit is contained in:
osboxes.org 2019-12-31 21:40:27 +01:00
parent 855aee04dd
commit bd38d68bd4

View file

@ -861,19 +861,19 @@ double json_number_value(const json_t *json) {
/*** simple values ***/ /*** simple values ***/
json_t *json_true(void) { json_t *json_true(void) {
static json_t the_true = {JSON_TRUE, (size_t) -1}; static json_t the_true = {JSON_TRUE, (size_t) - 1};
return &the_true; return &the_true;
} }
json_t *json_false(void) { json_t *json_false(void) {
static json_t the_false = {JSON_FALSE, (size_t) -1}; static json_t the_false = {JSON_FALSE, (size_t) - 1};
return &the_false; return &the_false;
} }
json_t *json_null(void) { json_t *json_null(void) {
static json_t the_null = {JSON_NULL, (size_t) -1}; static json_t the_null = {JSON_NULL, (size_t) - 1};
return &the_null; return &the_null;
} }