refactor cJSONUtils_GetPointer

This commit is contained in:
Max Bruckner
2017-04-30 12:57:49 +02:00
parent 4642d6575f
commit 378a333ee2
2 changed files with 13 additions and 11 deletions

View File

@ -23,7 +23,7 @@
#include "cJSON.h"
/* Implement RFC6901 (https://tools.ietf.org/html/rfc6901) JSON Pointer spec. */
CJSON_PUBLIC(cJSON *) cJSONUtils_GetPointer(cJSON *object, const char *pointer);
CJSON_PUBLIC(cJSON *) cJSONUtils_GetPointer(cJSON * const object, const char *pointer);
/* Implement RFC6902 (https://tools.ietf.org/html/rfc6902) JSON Patch spec. */
CJSON_PUBLIC(cJSON *) cJSONUtils_GeneratePatches(cJSON *from, cJSON *to);