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:
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user