matching code conventions
This commit is contained in:
parent
0c2b454eb3
commit
ac47e4b76a
1 changed files with 20 additions and 20 deletions
|
|
@ -1042,7 +1042,7 @@ SWIGINTERN int SWIG_Lua_class_tostring(lua_State *L)
|
||||||
const char *className;
|
const char *className;
|
||||||
swig_lua_userdata* userData;
|
swig_lua_userdata* userData;
|
||||||
assert(lua_isuserdata(L,1)); /* just in case */
|
assert(lua_isuserdata(L,1)); /* just in case */
|
||||||
userData = lua_touserdata(L,1); /* get the userdata address for later */
|
userData = (swig_lua_userdata*)lua_touserdata(L,1); /* get the userdata address for later */
|
||||||
lua_getmetatable(L,1); /* get the meta table */
|
lua_getmetatable(L,1); /* get the meta table */
|
||||||
assert(lua_istable(L,-1)); /* just in case */
|
assert(lua_istable(L,-1)); /* just in case */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue