diff options
author | Even Rouault <even.rouault@mines-paris.org> | 2013-08-11 01:18:17 +0200 |
---|---|---|
committer | Even Rouault <even.rouault@mines-paris.org> | 2013-08-11 01:18:17 +0200 |
commit | 6c4bb3840c3541406893a9026ba2300bb3f009b3 (patch) | |
tree | 8c648edbdf9285f99ba4d35bcd3c5f7fbe428d8c | |
parent | b3bce4d5943774b59d7fa653da89f48db70d013e (diff) | |
download | json-c-6c4bb3840c3541406893a9026ba2300bb3f009b3.tar.gz |
Add extern to json_object_set_serializer so that it gets exported (Windows fix)
-rw-r--r-- | json_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/json_object.h b/json_object.h index 6270309..df958bf 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); |