1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 19:05:42 +02:00

lua: add support of eval (issue #128)

This commit is contained in:
Sébastien Helleu
2017-12-29 21:59:29 +01:00
parent 23ec371dae
commit eb54230760
3 changed files with 229 additions and 46 deletions
+1
View File
@@ -5128,6 +5128,7 @@ API_FUNC(upgrade_close)
*/
const struct luaL_Reg weechat_lua_api_funcs[] = {
{ "__output__", weechat_lua_output },
API_DEF_FUNC(register),
API_DEF_FUNC(plugin_get_name),
API_DEF_FUNC(charset_set),
File diff suppressed because it is too large Load Diff
+1
View File
@@ -50,6 +50,7 @@ extern struct t_hashtable *weechat_lua_tohashtable (lua_State *interpreter,
int size,
const char *type_keys,
const char *type_values);
extern int weechat_lua_output (lua_State *L);
extern void *weechat_lua_exec (struct t_plugin_script *script,
int ret_type,
const char *function,