1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

Update developer guide (add 50% of new C API functions)

This commit is contained in:
Sebastien Helleu
2008-11-07 18:27:16 +01:00
parent bc5bb29970
commit 67d8312f46
30 changed files with 14538 additions and 11886 deletions
+4 -3
View File
@@ -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);
}
/*