mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 12:56:37 +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_LUA_API_H
|
||||
#define WEECHAT_LUA_API_H 1
|
||||
#ifndef WEECHAT_PLUGIN_LUA_API_H
|
||||
#define WEECHAT_PLUGIN_LUA_API_H
|
||||
|
||||
extern struct luaL_Reg weechat_lua_api_funcs[];
|
||||
extern struct t_lua_const weechat_lua_api_consts[];
|
||||
@@ -32,4 +32,4 @@ extern int weechat_lua_api_buffer_close_cb (const void *pointer,
|
||||
void *data,
|
||||
struct t_gui_buffer *buffer);
|
||||
|
||||
#endif /* WEECHAT_LUA_API_H */
|
||||
#endif /* WEECHAT_PLUGIN_LUA_API_H */
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
* along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef WEECHAT_LUA_H
|
||||
#define WEECHAT_LUA_H 1
|
||||
#ifndef WEECHAT_PLUGIN_LUA_H
|
||||
#define WEECHAT_PLUGIN_LUA_H
|
||||
|
||||
#define weechat_plugin weechat_lua_plugin
|
||||
#define LUA_PLUGIN_NAME "lua"
|
||||
@@ -58,4 +58,4 @@ extern void weechat_lua_register_lib(lua_State *L, const char *libname,
|
||||
const luaL_Reg *lua_api_funcs,
|
||||
struct t_lua_const lua_api_consts[]);
|
||||
|
||||
#endif /* WEECHAT_LUA_H */
|
||||
#endif /* WEECHAT_PLUGIN_LUA_H */
|
||||
|
||||
Reference in New Issue
Block a user