mirror of
https://github.com/json-c/json-c.git
synced 2026-03-31 19:09:07 +08:00
Make sure to include the "*" on function pointer arguments to avoid a warnings from VS2015. See also PR#384.
This commit is contained in:
@@ -269,7 +269,7 @@ void json_object_set_userdata(json_object *jso, void *userdata,
|
||||
/* set a custom conversion to string */
|
||||
|
||||
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,
|
||||
json_object_delete_fn *user_delete)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user