Make sure to include the "*" on function pointer arguments to avoid a warnings from VS2015. See also PR#384.
This commit is contained in:
1 parent
95015d474e
commit
aedd36ac8b
4 files changed
+6
-6
No files matched your search
+1
-1
@@ -324,7 +324,7 @@ JSON_EXPORT void json_object_set_userdata(json_object *jso, void *userdata,
|
||||
* @param user_delete an optional function from freeing userdata
|
||||
*/
|
||||
JSON_EXPORT 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