Skip to content

add return value for cJSON_AddItemTo...#453

Merged
Alanscut merged 4 commits into
DaveGamble:masterfrom
Alanscut:add-return-value
Apr 2, 2020
Merged

add return value for cJSON_AddItemTo...#453
Alanscut merged 4 commits into
DaveGamble:masterfrom
Alanscut:add-return-value

Conversation

@Alanscut

Copy link
Copy Markdown
Collaborator

Changes:

  • add return value for function cJSON_AddItemTo..., so we can check if the item has been added successfully
  • an cJSON_Object or cJSON_Array is not allowed to add to itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant