All pastes #24533 Raw Edit

Untitled

public text v1 · immutable
#24533 ·published 2005-10-03 21:18 UTC
rendered paste body
/* method: GetArray of class  PkgView */
static int tolua_LuaPkgView_PkgView_GetArray00(lua_State* tolua_S)
{
#ifndef TOLUA_RELEASE
 tolua_Error tolua_err;
 if (
 !tolua_isusertype(tolua_S,1,"PkgView",0,&tolua_err) ||
 !tolua_isstring(tolua_S,2,0,&tolua_err) ||
 !tolua_isnoobj(tolua_S,3,&tolua_err)
 )
 goto tolua_lerror;
 else
#endif
 {
  PkgView* self = (PkgView*)  tolua_tousertype(tolua_S,1,0);
  const char* iObjType = ((const char*)  tolua_tostring(tolua_S,2,0));
#ifndef TOLUA_RELEASE
 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'GetArray'",NULL);
#endif
 {
  lua_Object tolua_ret = (lua_Object)  self->GetArray(iObjType);
 tolua_pushvalue(tolua_S,(int)tolua_ret);
 }
 }
 return 1;
#ifndef TOLUA_RELEASE
 tolua_lerror:
 tolua_error(tolua_S,"#ferror in function 'GetArray'.",&tolua_err);
 return 0;
#endif
}