| 1993 | } |
| 1994 | |
| 1995 | CJSON_PUBLIC(cJSON*) cJSON_AddFalseToObject(cJSON * const object, const char * const name) |
| 1996 | { |
| 1997 | cJSON *false_item = cJSON_CreateFalse(); |
| 1998 | if (add_item_to_object(object, name, false_item, &global_hooks, false)) |
| 1999 | { |
| 2000 | return false_item; |
| 2001 | } |
| 2002 | |
| 2003 | cJSON_Delete(false_item); |
| 2004 | return NULL; |
| 2005 | } |
| 2006 | |
| 2007 | CJSON_PUBLIC(cJSON*) cJSON_AddBoolToObject(cJSON * const object, const char * const name, const cJSON_bool boolean) |
| 2008 | { |
nothing calls this directly
no test coverage detected