From 7a20483f06624e82feb129c9e4c8fa13881a6a9f Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 22 Nov 2018 12:23:12 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9lua=20bind?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lua/modules/joypad/je_lua_joypad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lua/modules/joypad') diff --git a/src/lua/modules/joypad/je_lua_joypad.cpp b/src/lua/modules/joypad/je_lua_joypad.cpp index 8c71dc1..1261183 100644 --- a/src/lua/modules/joypad/je_lua_joypad.cpp +++ b/src/lua/modules/joypad/je_lua_joypad.cpp @@ -9,10 +9,10 @@ namespace JinEngine LUA_EXPORT int luaopen_joypad(lua_State* L) { - luaL_Reg f[] = { + luaL_Reg methods[] = { { 0, 0 } }; - luax_newlib(L, f); + luax_newlib(L, methods); return 1; } -- cgit v1.1-26-g67d0