From: Even Rouault Date: Sat, 10 Aug 2013 23:18:17 +0000 (+0200) Subject: Add extern to json_object_set_serializer so that it gets exported (Windows fix) X-Git-Tag: json-c-0.12-20140410~31^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F95%2Fhead;p=thirdparty%2Fjson-c.git Add extern to json_object_set_serializer so that it gets exported (Windows fix) --- 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);