Skip to content

Commit ba0368c

Browse files
committed
Correct old-to-new API prototype to match function
1 parent 1f9f466 commit ba0368c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/alsp_src/generic/new_alspi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ AP_API(AP_Result) AP_SetException(AP_World *w, AP_Obj ball);
4040
AP_API(AP_Obj) AP_GetException(AP_World *w);
4141
AP_API(AP_Result) AP_SetError(AP_World *w, AP_Obj error_term);
4242
AP_API(AP_Result) AP_SetStandardError(AP_World *w, AP_StandardError error_type, ...);
43-
AP_API(int) AP_OldToNewCall(AP_Result (*new_func)(void), int arity);
43+
AP_API(int) AP_OldToNewCall(AP_Result (*new_func)(), int arity);
4444
AP_API(int) AP_GetStructureArity(AP_World *w, AP_Obj struc);
4545
AP_API(AP_Obj) AP_GetStructureFunctor(AP_World *w, AP_Obj struc);
4646

0 commit comments

Comments
 (0)