1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

php: add "PLUGIN" in headers

This commit is contained in:
Sébastien Helleu
2017-09-03 12:33:54 +02:00
parent d032ee2159
commit 6a45c5e243
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_PHP_API_H
#define WEECHAT_PHP_API_H 1
#ifndef WEECHAT_PLUGIN_PHP_API_H
#define WEECHAT_PLUGIN_PHP_API_H 1
extern struct zval* weechat_php_api_funcs[];
extern struct t_php_const weechat_php_api_consts[];
@@ -221,4 +221,4 @@ PHP_FUNCTION(weechat_window_set_title);
PHP_FUNCTION(forget_class);
PHP_FUNCTION(forget_function);
#endif /* WEECHAT_PHP_API_H */
#endif /* WEECHAT_PLUGIN_PHP_API_H */
+3 -3
View File
@@ -17,8 +17,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_PHP_H
#define WEECHAT_PHP_H 1
#ifndef WEECHAT_PLUGIN_PHP_H
#define WEECHAT_PLUGIN_PHP_H 1
#define weechat_plugin weechat_php_plugin
#define PHP_PLUGIN_NAME "php"
@@ -57,4 +57,4 @@ extern void *weechat_php_exec (struct t_plugin_script *script,
extern zval *weechat_php_func_map_get (const char *func_name);
extern char *weechat_php_func_map_add (zval *ofunc);
#endif /* WEECHAT_PHP_H */
#endif /* WEECHAT_PLUGIN_PHP_H */