mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +02:00
Many changes in doc
This commit is contained in:
@@ -246,13 +246,13 @@ weechat_lua_load (const char *filename)
|
||||
* weechat_lua_load_cb: callback for weechat_script_auto_load() function
|
||||
*/
|
||||
|
||||
int
|
||||
void
|
||||
weechat_lua_load_cb (void *data, const char *filename)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
|
||||
return weechat_lua_load (filename);
|
||||
weechat_lua_load (filename);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -375,13 +375,13 @@ weechat_perl_load (const char *filename)
|
||||
* weechat_perl_load_cb: callback for weechat_script_auto_load() function
|
||||
*/
|
||||
|
||||
int
|
||||
void
|
||||
weechat_perl_load_cb (void *data, const char *filename)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
|
||||
return weechat_perl_load (filename);
|
||||
weechat_perl_load (filename);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -440,13 +440,13 @@ weechat_python_load (const char *filename)
|
||||
* weechat_python_load_cb: callback for script_auto_load() function
|
||||
*/
|
||||
|
||||
int
|
||||
void
|
||||
weechat_python_load_cb (void *data, const char *filename)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
|
||||
return weechat_python_load (filename);
|
||||
weechat_python_load (filename);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -421,13 +421,13 @@ weechat_ruby_load (const char *filename)
|
||||
* weechat_ruby_load_cb: callback for weechat_script_auto_load() function
|
||||
*/
|
||||
|
||||
int
|
||||
void
|
||||
weechat_ruby_load_cb (void *data, const char *filename)
|
||||
{
|
||||
/* make C compiler happy */
|
||||
(void) data;
|
||||
|
||||
return weechat_ruby_load (filename);
|
||||
weechat_ruby_load (filename);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -93,7 +93,7 @@ script_init (struct t_weechat_plugin *weechat_plugin,
|
||||
int (*callback_signal_buffer_closed)(void *data, const char *signal,
|
||||
const char *type_data,
|
||||
void *signal_data),
|
||||
int (*callback_load_file)(void *data, const char *filename))
|
||||
void (*callback_load_file)(void *data, const char *filename))
|
||||
{
|
||||
char *string, *completion = "list|listfull|load|autoload|reload|unload %f";
|
||||
int length;
|
||||
@@ -208,7 +208,7 @@ script_str2ptr (const char *pointer_str)
|
||||
|
||||
void
|
||||
script_auto_load (struct t_weechat_plugin *weechat_plugin,
|
||||
int (*callback)(void *data, const char *filename))
|
||||
void (*callback)(void *data, const char *filename))
|
||||
{
|
||||
char *dir_home, *dir_name;
|
||||
int dir_length;
|
||||
|
||||
@@ -73,11 +73,11 @@ extern void script_init (struct t_weechat_plugin *weechat_plugin,
|
||||
const char *signal,
|
||||
const char *type_data,
|
||||
void *signal_data),
|
||||
int (*callback_load_file)(void *data, const char *filename));
|
||||
void (*callback_load_file)(void *data, const char *filename));
|
||||
extern char *script_ptr2str (void *pointer);
|
||||
extern void *script_str2ptr (const char *pointer_str);
|
||||
extern void script_auto_load (struct t_weechat_plugin *weechat_plugin,
|
||||
int (*callback)(void *data, const char *filename));
|
||||
void (*callback)(void *data, const char *filename));
|
||||
extern struct t_plugin_script *script_search (struct t_weechat_plugin *weechat_plugin,
|
||||
struct t_plugin_script *scripts,
|
||||
const char *name);
|
||||
|
||||
Reference in New Issue
Block a user