textures and core new argument style.

This commit is contained in:
jussi
2023-04-07 18:47:48 +03:00
parent 3cc1af265f
commit 22f70cf06f
5 changed files with 638 additions and 591 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -2059,7 +2059,11 @@ void uluaPushBoundingBox( lua_State *L, BoundingBox box ) {
}
int uluaGetTableLen( lua_State *L ) {
int t = lua_gettop( L ), i = 0;
return uluaGetTableLenIndex( L, lua_gettop( L ) );
}
int uluaGetTableLenIndex( lua_State *L, int index ) {
int t = index, i = 0;
lua_pushnil( L );
while ( lua_next( L, t ) != 0 ) {

File diff suppressed because it is too large Load Diff