mirror of
https://github.com/json-c/json-c.git
synced 2026-04-10 07:49:07 +08:00
Add extern to json_object_set_serializer so that it gets exported (Windows fix)
This commit is contained in:
@@ -192,7 +192,7 @@ flags);
|
|||||||
* @param userdata an optional opaque cookie
|
* @param userdata an optional opaque cookie
|
||||||
* @param user_delete an optional function from freeing userdata
|
* @param user_delete an optional function from freeing userdata
|
||||||
*/
|
*/
|
||||||
void json_object_set_serializer(json_object *jso,
|
extern void json_object_set_serializer(json_object *jso,
|
||||||
json_object_to_json_string_fn to_string_func,
|
json_object_to_json_string_fn to_string_func,
|
||||||
void *userdata,
|
void *userdata,
|
||||||
json_object_delete_fn *user_delete);
|
json_object_delete_fn *user_delete);
|
||||||
|
|||||||
Reference in New Issue
Block a user