From 8cd03a53878b9d67eb4b13fb546dbd989d8217e2 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 4 Dec 2018 10:13:03 +0800 Subject: *proxy->lua object --- src/lua/modules/audio/je_lua_source.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lua/modules/audio/je_lua_source.cpp') diff --git a/src/lua/modules/audio/je_lua_source.cpp b/src/lua/modules/audio/je_lua_source.cpp index 0e7b09e..f115721 100644 --- a/src/lua/modules/audio/je_lua_source.cpp +++ b/src/lua/modules/audio/je_lua_source.cpp @@ -15,8 +15,8 @@ namespace JinEngine LUA_IMPLEMENT inline SharedSource checkSource(lua_State* L) { - Proxy* proxy = (Proxy*)luax_checktype(L, 1, Jin_Lua_Source); - return proxy->getShared(); + LuaObject* luaObj = (LuaObject*)luax_checktype(L, 1, Jin_Lua_Source); + return luaObj->getShared(); } LUA_IMPLEMENT int l_play(lua_State* L) @@ -88,8 +88,8 @@ namespace JinEngine LUA_IMPLEMENT int l_gc(lua_State* L) { - Proxy* proxy = (Proxy*)luax_checktype(L, 1, Jin_Lua_Source); - proxy->release(); + LuaObject* luaObj = (LuaObject*)luax_checktype(L, 1, Jin_Lua_Source); + luaObj->release(); return 0; } -- cgit v1.1-26-g67d0