int w_Fixture_getGroupIndex(lua_State *L) { Fixture *t = luax_checkfixture(L, 1); int i = t->getGroupIndex(); lua_pushinteger(L, i); return 1; }