ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

lvm.h

Go to the documentation of this file.
00001 /*
00002 ** Lua virtual machine
00003 ** See Copyright Notice in lua.h
00004 */
00005 
00006 #ifndef GRIM_LVM_H
00007 #define GRIM_LVM_H
00008 
00009 
00010 #include "engines/grim/lua/ldo.h"
00011 #include "engines/grim/lua/lobject.h"
00012 
00013 namespace Grim {
00014 
00015 #define tonumber(o) ((ttype(o) != LUA_T_NUMBER) && (luaV_tonumber(o) != 0))
00016 #define tostring(o) ((ttype(o) != LUA_T_STRING) && (luaV_tostring(o) != 0))
00017 
00018 
00019 void luaV_pack(StkId firstel, int32 nvararg, TObject *tab);
00020 int32 luaV_tonumber(TObject *obj);
00021 int32 luaV_tostring(TObject *obj);
00022 void luaV_gettable();
00023 void luaV_settable(TObject *t, int32 mode);
00024 void luaV_getglobal(TaggedString *ts);
00025 void luaV_setglobal(TaggedString *ts);
00026 void luaV_closure(int32 nelems);
00027 
00028 } // end of namespace Grim
00029 
00030 #endif


Generated on Sat Sep 14 2019 05:01:15 for ResidualVM by doxygen 1.7.1
curved edge   curved edge