1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +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
+3 -4
View File
@@ -1924,8 +1924,7 @@ weechat_ruby_api_config_string (VALUE class, VALUE option)
static VALUE
weechat_ruby_api_config_color (VALUE class, VALUE option)
{
char *c_option;
int value;
char *c_option, *result;
/* make C compiler happy */
(void) class;
@@ -1948,9 +1947,9 @@ weechat_ruby_api_config_color (VALUE class, VALUE option)
c_option = STR2CSTR (option);
value = weechat_config_color (script_str2ptr (c_option));
result = weechat_config_color (script_str2ptr (c_option));
RUBY_RETURN_INT(value);
RUBY_RETURN_STRING(result);
}
/*