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

lobject.h File Reference

#include "engines/grim/lua/lua.h"
Include dependency graph for lobject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Grim::UserData
union  Grim::Value
struct  Grim::TObject
struct  Grim::GCnode
struct  Grim::TaggedString
struct  Grim::TProtoFunc
struct  Grim::LocVar
struct  Grim::Closure
struct  Grim::Node
struct  Grim::Hash

Namespaces

namespace  Grim

Defines

#define LUA_INTERNALERROR(s)
#define LUA_ASSERT(c, s)
#define MAX_INT   (2147483647 - 2)
#define MAX_WORD   (65534U)
#define NUM_TYPES   12
#define NUM_TAGS   8
#define ttype(o)   ((o)->ttype)
#define nvalue(o)   ((o)->value.n)
#define svalue(o)   ((o)->value.ts->str)
#define tsvalue(o)   ((o)->value.ts)
#define clvalue(o)   ((o)->value.cl)
#define avalue(o)   ((o)->value.a)
#define fvalue(o)   ((o)->value.f)
#define tfvalue(o)   ((o)->value.tf)
#define protovalue(o)   ((o)->value.cl->consts)
#define luaO_memup(d, s, n)   memmove(d, s, n)
#define luaO_memdown(d, s, n)   memmove(d, s, n)

Typedefs

typedef struct Grim::UserData Grim::UserData
typedef struct Grim::TObject Grim::TObject
typedef struct Grim::GCnode Grim::GCnode
typedef struct Grim::TaggedString Grim::TaggedString
typedef struct Grim::TProtoFunc Grim::TProtoFunc
typedef struct Grim::LocVar Grim::LocVar
typedef struct Grim::Closure Grim::Closure
typedef struct Grim::Node Grim::Node
typedef struct Grim::Hash Grim::Hash

Enumerations

enum  Grim::lua_Type {
  Grim::LUA_T_USERDATA = 0, Grim::LUA_T_NUMBER = -1, Grim::LUA_T_STRING = -2, Grim::LUA_T_ARRAY = -3,
  Grim::LUA_T_PROTO = -4, Grim::LUA_T_CPROTO = -5, Grim::LUA_T_TASK = -6, Grim::LUA_T_NIL = -7,
  Grim::LUA_T_CLOSURE = -8, Grim::LUA_T_CLMARK = -9, Grim::LUA_T_PMARK = -10, Grim::LUA_T_CMARK = -11,
  Grim::LUA_T_LINE = -12
}

Functions

int32 Grim::luaO_equalObj (TObject *t1, TObject *t2)
int32 Grim::luaO_redimension (int32 oldsize)
int Grim::luaO_findstring (const char *name, const char *list[])
void Grim::luaO_insertlist (GCnode *root, GCnode *node)

Define Documentation

#define avalue (   o  )     ((o)->value.a)

Definition at line 114 of file lobject.h.

#define clvalue (   o  )     ((o)->value.cl)

Definition at line 113 of file lobject.h.

#define fvalue (   o  )     ((o)->value.f)

Definition at line 115 of file lobject.h.

#define LUA_ASSERT (   c,
  s 
)

Definition at line 19 of file lobject.h.

#define LUA_INTERNALERROR (   s  ) 

Definition at line 18 of file lobject.h.

#define luaO_memdown (   d,
  s,
  n 
)    memmove(d, s, n)

Definition at line 151 of file lobject.h.

#define luaO_memup (   d,
  s,
  n 
)    memmove(d, s, n)

Definition at line 150 of file lobject.h.

#define MAX_INT   (2147483647 - 2)

Definition at line 22 of file lobject.h.

#define MAX_WORD   (65534U)

Definition at line 23 of file lobject.h.

#define NUM_TAGS   8

Definition at line 47 of file lobject.h.

#define NUM_TYPES   12

Definition at line 46 of file lobject.h.

#define nvalue (   o  )     ((o)->value.n)

Definition at line 110 of file lobject.h.

#define protovalue (   o  )     ((o)->value.cl->consts)

Definition at line 117 of file lobject.h.

#define svalue (   o  )     ((o)->value.ts->str)

Definition at line 111 of file lobject.h.

#define tfvalue (   o  )     ((o)->value.tf)

Definition at line 116 of file lobject.h.

#define tsvalue (   o  )     ((o)->value.ts)

Definition at line 112 of file lobject.h.

#define ttype (   o  )     ((o)->ttype)

Definition at line 109 of file lobject.h.



Generated on Sat Jul 20 2019 05:01:38 for ResidualVM by doxygen 1.7.1
curved edge   curved edge