weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [PATCH 1/3] Renamed luaL_reg to luaL_Reg


From: Arvydas Sidorenko
Subject: [Weechat-dev] [PATCH 1/3] Renamed luaL_reg to luaL_Reg
Date: Tue, 26 Jun 2012 02:00:47 +0200

The original struct name is luaL_Reg, but Lua v5.1 had a
`typedef luaL_reg luaL_Reg`, which in v5.2 was removed

Signed-off-by: Arvydas Sidorenko <address@hidden>
---
 src/plugins/scripts/lua/weechat-lua-api.c |    2 +-
 src/plugins/scripts/lua/weechat-lua-api.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/scripts/lua/weechat-lua-api.c 
b/src/plugins/scripts/lua/weechat-lua-api.c
index 85a9107..8a07c4e 100644
--- a/src/plugins/scripts/lua/weechat-lua-api.c
+++ b/src/plugins/scripts/lua/weechat-lua-api.c
@@ -6186,7 +6186,7 @@ weechat_lua_api_constant_weechat_hook_signal_pointer 
(lua_State *L)
  * Lua subroutines
  */
 
-const struct luaL_reg weechat_lua_api_funcs[] = {
+const struct luaL_Reg weechat_lua_api_funcs[] = {
     API_DEF_FUNC(register),
     API_DEF_FUNC(plugin_get_name),
     API_DEF_FUNC(charset_set),
diff --git a/src/plugins/scripts/lua/weechat-lua-api.h 
b/src/plugins/scripts/lua/weechat-lua-api.h
index e198a4c..b377892 100644
--- a/src/plugins/scripts/lua/weechat-lua-api.h
+++ b/src/plugins/scripts/lua/weechat-lua-api.h
@@ -21,7 +21,7 @@
 #ifndef __WEECHAT_LUA_API_H
 #define __WEECHAT_LUA_API_H 1
 
-extern struct luaL_reg weechat_lua_api_funcs[];
+extern struct luaL_Reg weechat_lua_api_funcs[];
 
 extern int weechat_lua_api_buffer_input_data_cb (void *data,
                                                  struct t_gui_buffer *buffer,
-- 
1.7.8.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]