Make sure to include the "*" on function pointer arguments to avoid a warnings from VS2015. See also PR#384.

This commit is contained in:
Eric Haszlakiewicz
2017-12-04 18:17:52 -05:00
parent 95015d474e
commit aedd36ac8b
4 changed files with 6 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ typedef int (json_c_visit_userfunc)(json_object *jso, int flags,
* userfunc returned JSON_C_VISIT_RETURN_ERROR.
*/
int json_c_visit(json_object *jso, int future_flags,
json_c_visit_userfunc userfunc, void *userarg);
json_c_visit_userfunc *userfunc, void *userarg);
/**
* Passed to json_c_visit_userfunc as one of the flags values to indicate