We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cjson.h 中,cJSON_CreateNumber 没有定义,如果使用了 cJSON_AddNumberToObject,无法编译
#define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
The text was updated successfully, but these errors were encountered:
CJsonObject 中未使用 cJSON_AddNumberToObject,这个函数应该是在其他版本的cjson中才有
Sorry, something went wrong.
是的,然后因为这里有了这个定义,可能会导致不小心使用到,实际上宏展开后就无法编译,能否保持行为一致。同步增加下cJSON_AddNumberToObject 的定义实现,或者删除 cJSON_AddNumberToObject 宏。
OK,这个周末更新一下
已修改
No branches or pull requests
cjson.h 中,cJSON_CreateNumber 没有定义,如果使用了 cJSON_AddNumberToObject,无法编译
#define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumber(n))
The text was updated successfully, but these errors were encountered: