diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-04 23:10:55 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-05 19:52:21 +0100 |
commit | 81599b88d47fd740a073d47a47dc2481801f530b (patch) | |
tree | ef3f602d241e3f77122b9a5273d3965895f73e75 /src/plugins/lua/weechat-lua.h | |
parent | 84437ab672b6866b7464cda51be91d13f3e2e446 (diff) | |
download | weechat-81599b88d47fd740a073d47a47dc2481801f530b.zip |
plugins: move scripting API constants to plugin-script.c
Diffstat (limited to 'src/plugins/lua/weechat-lua.h')
-rw-r--r-- | src/plugins/lua/weechat-lua.h | 10 |
1 files changed, 1 insertions, 9 deletions
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 */ |