From 81599b88d47fd740a073d47a47dc2481801f530b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 4 Mar 2024 23:10:55 +0100 Subject: plugins: move scripting API constants to plugin-script.c --- src/plugins/lua/weechat-lua.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/plugins/lua/weechat-lua.h') diff --git a/src/plugins/lua/weechat-lua.h b/src/plugins/lua/weechat-lua.h index 84c141bcd..7494bdb3d 100644 --- a/src/plugins/lua/weechat-lua.h +++ b/src/plugins/lua/weechat-lua.h @@ -27,13 +27,6 @@ #define LUA_CURRENT_SCRIPT_NAME ((lua_current_script) ? lua_current_script->name : "-") -struct t_lua_const -{ - char *name; - int int_value; - char *str_value; -}; - extern struct t_weechat_plugin *weechat_lua_plugin; extern struct t_plugin_script_data lua_data; @@ -59,7 +52,6 @@ extern void *weechat_lua_exec (struct t_plugin_script *script, const char *function, const char *format, void **argv); extern void weechat_lua_register_lib (lua_State *L, const char *libname, - const luaL_Reg *lua_api_funcs, - struct t_lua_const lua_api_consts[]); + const luaL_Reg *lua_api_funcs); #endif /* WEECHAT_PLUGIN_LUA_H */ -- cgit v1.2.3