* Get a field (property or function) */
| 1063 | * Get a field (property or function) |
| 1064 | */ |
| 1065 | FORCEINLINE static int32 GetField(lua_State* L) |
| 1066 | { |
| 1067 | lua_getmetatable(L, 1); |
| 1068 | lua_pushvalue(L, 2); |
| 1069 | int32 Type = lua_rawget(L, -2); |
| 1070 | if (Type == LUA_TNIL) |
| 1071 | GetFieldInternal(L); |
| 1072 | lua_remove(L, -2); |
| 1073 | return 1; |
| 1074 | } |
| 1075 | |
| 1076 | /** |
| 1077 | * Get collision related enums |
no test coverage detected