Add _c API functions to allow custom allocation/deallocation functions

This commit is contained in:
rexy712
2020-07-20 03:16:21 -07:00
parent bf098ac96a
commit e77d20cae4
18 changed files with 396 additions and 208 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ typedef struct RJP_array{
RJP_index num_elements;
}RJP_array;
void irjp_add_element(RJP_array* j);
void irjp_copy_array(RJP_value* dest, const RJP_value* src);
void irjp_add_element(RJP_array* j, const RJP_memory_fns* fns);
void irjp_copy_array(RJP_value* dest, const RJP_value* src, const RJP_memory_fns* fns);
RJP_index irjp_dump_array(const RJP_value* arr, char* dest, const int flags, int depth);