Add extern to json_object_set_serializer so that it gets exported (Windows fix)

This commit is contained in:
Even Rouault
2013-08-11 01:18:17 +02:00
parent b3bce4d594
commit 6c4bb3840c

View File

@@ -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);