From cbe99e608966837dfb14f2fbec8eeddd1a8676a5 Mon Sep 17 00:00:00 2001 From: Kolten Pearson Date: Tue, 2 May 2023 22:29:06 -0600 Subject: [PATCH] set the void* in LuaStyleFuncC back to a VM* --- src/obj.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/obj.h b/src/obj.h index 69dd6e51..a504b597 100644 --- a/src/obj.h +++ b/src/obj.h @@ -12,7 +12,7 @@ struct Function; class VM; typedef PyObject* (*NativeFuncC)(VM*, ArgsView); -typedef int (*LuaStyleFuncC)(void*); +typedef int (*LuaStyleFuncC)(VM*); struct NativeFunc { NativeFuncC f;