diff options
author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2013-09-08 13:33:22 -0700 |
---|---|---|
committer | Eric Haszlakiewicz <erh+git@nimenees.com> | 2013-09-08 13:33:22 -0700 |
commit | a030120c5552d9e615e67973de303ab79897f842 (patch) | |
tree | 3be732ae0a94f8c350ac892366be33656e7eb8cf | |
parent | 02aa6f01f4238a1d5268e514c05ff2fc43e82f5c (diff) | |
parent | 6c4bb3840c3541406893a9026ba2300bb3f009b3 (diff) | |
download | json-c-a030120c5552d9e615e67973de303ab79897f842.tar.gz |
Merge pull request #95 from rouault/extern_json_object_set_serializer
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); |