From 6c4bb3840c3541406893a9026ba2300bb3f009b3 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Sun, 11 Aug 2013 01:18:17 +0200 Subject: [PATCH] Add extern to json_object_set_serializer so that it gets exported (Windows fix) --- json_object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json_object.h b/json_object.h index 62703092..df958bf2 100644 --- a/json_object.h +++ b/json_object.h @@ -192,7 +192,7 @@ flags); * @param userdata an optional opaque cookie * @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, void *userdata, json_object_delete_fn *user_delete); -- 2.47.2