mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-08-05 09:27:47 +00:00
cJSON_Utils: Add true/false
This commit is contained in:
@@ -30,6 +30,10 @@
|
||||
|
||||
#include "cJSON_Utils.h"
|
||||
|
||||
/* define our own boolean type */
|
||||
#define true ((cJSON_bool)1)
|
||||
#define false ((cJSON_bool)0)
|
||||
|
||||
static unsigned char* cJSONUtils_strdup(const unsigned char* const string)
|
||||
{
|
||||
size_t length = 0;
|
||||
|
||||
Reference in New Issue
Block a user