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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user