mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
Update developer guide (add 50% of new C API functions)
This commit is contained in:
@@ -1886,7 +1886,8 @@ static int
|
||||
weechat_lua_api_config_color (lua_State *L)
|
||||
{
|
||||
const char *option;
|
||||
int n, value;
|
||||
char *result;
|
||||
int n;
|
||||
|
||||
/* make C compiler happy */
|
||||
(void) L;
|
||||
@@ -1909,9 +1910,9 @@ weechat_lua_api_config_color (lua_State *L)
|
||||
|
||||
option = lua_tostring (lua_current_interpreter, -1);
|
||||
|
||||
value = weechat_config_color (script_str2ptr (option));
|
||||
result = weechat_config_color (script_str2ptr (option));
|
||||
|
||||
LUA_RETURN_INT(value);
|
||||
LUA_RETURN_STRING(result);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user