mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 23:36:37 +02:00
plugins: move scripting API constants to plugin-script.c
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user