1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-22 19:06: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
@@ -1672,8 +1672,7 @@ weechat_python_api_config_string (PyObject *self, PyObject *args)
static PyObject *
weechat_python_api_config_color (PyObject *self, PyObject *args)
{
char *option;
int value;
char *option, *result;
/* make C compiler happy */
(void) self;
@@ -1692,9 +1691,9 @@ weechat_python_api_config_color (PyObject *self, PyObject *args)
PYTHON_RETURN_INT(0);
}
value = weechat_config_color (script_str2ptr (option));
result = weechat_config_color (script_str2ptr (option));
PYTHON_RETURN_INT(value);
PYTHON_RETURN_STRING(result);
}
/*