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

core: remove value for first #define in headers, add "PLUGIN" in plugin headers

This commit is contained in:
Sébastien Helleu
2017-08-10 20:05:16 +02:00
parent c58716809c
commit 9bad3f44db
176 changed files with 430 additions and 430 deletions
+3 -3
View File
@@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_JS_API_H
#define WEECHAT_JS_API_H 1
#ifndef WEECHAT_PLUGIN_JS_API_H
#define WEECHAT_PLUGIN_JS_API_H
extern int weechat_js_api_buffer_input_data_cb (const void *pointer,
void *data,
@@ -29,4 +29,4 @@ extern int weechat_js_api_buffer_close_cb (const void *pointer,
void *data,
struct t_gui_buffer *buffer);
#endif /* WEECHAT_JS_API_H */
#endif /* WEECHAT_PLUGIN_JS_API_H */
+3 -3
View File
@@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_JS_V8_H
#define WEECHAT_JS_V8_H 1
#ifndef WEECHAT_PLUGIN_JS_V8_H
#define WEECHAT_PLUGIN_JS_V8_H
#include <cstdio>
#include <v8.h>
@@ -51,4 +51,4 @@ private:
v8::Handle<v8::String> source;
};
#endif /* WEECHAT_JS_V8_H */
#endif /* WEECHAT_PLUGIN_JS_V8_H */
+3 -3
View File
@@ -18,8 +18,8 @@
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef WEECHAT_JS_H
#define WEECHAT_JS_H 1
#ifndef WEECHAT_PLUGIN_JS_H
#define WEECHAT_PLUGIN_JS_H
#include <v8.h>
@@ -59,4 +59,4 @@ extern void *weechat_js_exec (struct t_plugin_script *script,
int ret_type, const char *function,
const char *format, void **argv);
#endif /* WEECHAT_JS_H */
#endif /* WEECHAT_PLUGIN_JS_H */