mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-08-06 09:47:46 +00:00
cJSON_DuplicateConfiguration
This commit is contained in:
@@ -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