1
0
mirror of https://github.com/DaveGamble/cJSON synced 2025-04-11 03:32:22 +00:00

Merge pull request #1 from YBHelloGitHub/br_test_git_manage

add comment
This commit is contained in:
YBHelloGitHub 2024-12-14 15:29:24 +08:00 committed by GitHub
commit ccdf9ed9aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ typedef struct {
const unsigned char *json;
size_t position;
} error;
static error global_error = { NULL, 0 };
static error global_error = { NULL, 0 }; // 用来记录json错误位置的
CJSON_PUBLIC(const char *) cJSON_GetErrorPtr(void)
{