From 95be0403e69b3047a0375cf965dedca0ad876409 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 15 Oct 2023 22:31:17 +0300 Subject: Argumets stored in RL.arg array. --- include/lua_core.h | 2 +- include/state.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/lua_core.h b/include/lua_core.h index 2285ca4..ed5fb7d 100644 --- a/include/lua_core.h +++ b/include/lua_core.h @@ -14,7 +14,7 @@ enum EventType { EVENT_CURSOR_ENTER }; -bool luaInit(); +bool luaInit( int argn, const char **argc ); int luaTraceback( lua_State *L ); bool luaCallMain(); void luaCallProcess(); diff --git a/include/state.h b/include/state.h index 13a7c6c..725cb6e 100644 --- a/include/state.h +++ b/include/state.h @@ -97,6 +97,6 @@ typedef struct { extern State *state; -bool stateInit( const char *exePath ); -void stateInitInterpret(); +bool stateInit( int argn, const char **argc, const char *exePath ); +void stateInitInterpret( int argn, const char **argc ); void stateFree(); -- cgit v1.2.3