mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
php: add comments in code
This commit is contained in:
@@ -58,6 +58,10 @@
|
||||
|
||||
static char weechat_php_empty_arg[1] = { '\0' };
|
||||
|
||||
/*
|
||||
* Registers a PHP script.
|
||||
*/
|
||||
|
||||
PHP_FUNCTION(weechat_register)
|
||||
{
|
||||
API_FUNC_INIT(weechat_register);
|
||||
@@ -143,6 +147,13 @@ PHP_FUNCTION(weechat_register)
|
||||
RETURN_TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* Wrappers for functions in scripting API.
|
||||
*
|
||||
* For more info about these functions, look at their implementation in WeeChat
|
||||
* core.
|
||||
*/
|
||||
|
||||
static void weechat_php_cb(const void *pointer, void *data, void **func_argv, const char *func_types, int func_type, void *rc)
|
||||
{
|
||||
struct t_plugin_script *script;
|
||||
|
||||
Reference in New Issue
Block a user