mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-13 10:15:04 +00:00
cJSON_DuplicateConfiguration
This commit is contained in:
1 parent
a0aa2df75a
commit
464c9b544c
3 files changed
+54
-17
No files matched your search
@@ -154,6 +154,8 @@ CJSON_PUBLIC(const char*) cJSON_Version(void);
|
||||
* allocator_userdata can be used to pass custom data to your allocator (e.g. for pool allocators).
|
||||
* */
|
||||
CJSON_PUBLIC(cJSON_Configuration) cJSON_CreateConfiguration(const cJSON_Allocators * const allocators, void *allocator_userdata);
|
||||
/* Create a copy of an existing configuration */
|
||||
CJSON_PUBLIC(cJSON_Configuration) cJSON_DuplicateConfiguration(const cJSON_Configuration, const cJSON_Allocators * const allocators, void *allocator_userdata);
|
||||
/* Change the allocators of a cJSON_Configuration and reset the userdata */
|
||||
CJSON_PUBLIC(cJSON_Configuration) cJSON_ConfigurationChangeAllocators(cJSON_Configuration configuration, const cJSON_Allocators allocators);
|
||||
/* Change the allocator userdata attached to a cJSON_Configuration */
|
||||
|
||||
Reference in new issue
Block a user