UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
swig_lua_runtime.h File Reference
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include <stdlib.h>
#include <assert.h>

Go to the source code of this file.

Data Structures

struct  swig_type_info
 
struct  swig_cast_info
 
struct  swig_module_info
 
struct  swig_lua_var_info
 
struct  swig_lua_const_info
 
struct  swig_lua_attribute
 
struct  swig_lua_namespace
 
struct  swig_lua_class
 
struct  swig_lua_userdata
 
struct  swig_lua_rawdata
 

Macros

#define SWIGTEMPLATEDISAMBIGUATOR
 
#define SWIGINLINE
 
#define SWIGUNUSED
 
#define SWIGUNUSEDPARM(p)   p SWIGUNUSED
 
#define SWIGINTERN   static SWIGUNUSED
 
#define SWIGINTERNINLINE   SWIGINTERN SWIGINLINE
 
#define SWIGEXPORT
 
#define SWIGSTDCALL
 
#define SWIG_UnknownError   -1
 
#define SWIG_IOError   -2
 
#define SWIG_RuntimeError   -3
 
#define SWIG_IndexError   -4
 
#define SWIG_TypeError   -5
 
#define SWIG_DivisionByZero   -6
 
#define SWIG_OverflowError   -7
 
#define SWIG_SyntaxError   -8
 
#define SWIG_ValueError   -9
 
#define SWIG_SystemError   -10
 
#define SWIG_AttributeError   -11
 
#define SWIG_MemoryError   -12
 
#define SWIG_NullReferenceError   -13
 
#define SWIG_RUNTIME_VERSION   "4"
 
#define SWIG_TYPE_TABLE_NAME
 
#define SWIGRUNTIME   SWIGINTERN
 
#define SWIGRUNTIMEINLINE   SWIGRUNTIME SWIGINLINE
 
#define SWIG_BUFFER_SIZE   1024
 
#define SWIG_POINTER_DISOWN   0x1
 
#define SWIG_CAST_NEW_MEMORY   0x2
 
#define SWIG_POINTER_OWN   0x1
 
#define SWIG_OK   (0)
 
#define SWIG_ERROR   (-1)
 
#define SWIG_IsOK(r)   (r >= 0)
 
#define SWIG_ArgError(r)   ((r != SWIG_ERROR) ? r : SWIG_TypeError)
 
#define SWIG_CASTRANKLIMIT   (1 << 8)
 
#define SWIG_NEWOBJMASK   (SWIG_CASTRANKLIMIT << 1)
 
#define SWIG_TMPOBJMASK   (SWIG_NEWOBJMASK << 1)
 
#define SWIG_BADOBJ   (SWIG_ERROR)
 
#define SWIG_OLDOBJ   (SWIG_OK)
 
#define SWIG_NEWOBJ   (SWIG_OK | SWIG_NEWOBJMASK)
 
#define SWIG_TMPOBJ   (SWIG_OK | SWIG_TMPOBJMASK)
 
#define SWIG_AddNewMask(r)   (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
 
#define SWIG_DelNewMask(r)   (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
 
#define SWIG_IsNewObj(r)   (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
 
#define SWIG_AddTmpMask(r)   (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
 
#define SWIG_DelTmpMask(r)   (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
 
#define SWIG_IsTmpObj(r)   (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
 
#define SWIG_AddCast(r)   (r)
 
#define SWIG_CheckState(r)   (SWIG_IsOK(r) ? 1 : 0)
 
#define SWIG_LUA_TARGET   SWIG_LUA_FLAVOR_LUA
 
#define SWIG_LUA_FLAVOR_LUA   1
 
#define SWIG_LUA_FLAVOR_ELUA   2
 
#define SWIG_LUA_FLAVOR_ELUAC   3
 
#define SWIG_LUA_CONSTTAB_INT(B, C)   SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0
 
#define SWIG_LUA_CONSTTAB_FLOAT(B, C)   SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0
 
#define SWIG_LUA_CONSTTAB_STRING(B, C)   SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0
 
#define SWIG_LUA_CONSTTAB_CHAR(B, C)   SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0
 
#define SWIG_LUA_CONSTTAB_POINTER(B, C, D)   SWIG_LUA_POINTER, (char *)B, 0, 0, (void *)C, &D
 
#define SWIG_LUA_CONSTTAB_BINARY(B, S, C, D)   SWIG_LUA_BINARY, (char *)B, S, 0, (void *)C, &D
 
#define lua_rawlen   lua_strlen
 
#define lua_pushglobaltable(L)   lua_pushvalue(L, LUA_GLOBALSINDEX)
 
#define lua_absindex(L, i)   ((i)>0 || (i) <= LUA_REGISTRYINDEX ? (i) : lua_gettop(L) + (i) + 1)
 
#define lua_rawsetp(L, index, ptr)
 
#define lua_rawgetp(L, index, ptr)
 
#define SWIG_LUA_INT   1
 
#define SWIG_LUA_FLOAT   2
 
#define SWIG_LUA_STRING   3
 
#define SWIG_LUA_POINTER   4
 
#define SWIG_LUA_BINARY   5
 
#define SWIG_LUA_CHAR   6
 
#define SWIG_NewPointerObj(L, ptr, type, owner)   SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)
 
#define SWIG_ConvertPtr(L, idx, ptr, type, flags)   SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)
 
#define SWIG_MustGetPtr(L, idx, type, flags, argnum, fnname)   SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)
 
#define SWIG_ConvertMember(L, idx, ptr, sz, ty)   SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)
 
#define SWIG_NewMemberObj(L, ptr, sz, type)   SWIG_Lua_NewPackedObj(L, ptr, sz, type)
 
#define SWIG_GetModule(clientdata)   SWIG_Lua_GetModule((lua_State*)(clientdata))
 
#define SWIG_SetModule(clientdata, pointer)   SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)
 
#define SWIG_MODULE_CLIENTDATA_TYPE   lua_State*
 
#define SWIG_contract_assert(expr, msg)   if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } else
 
#define SWIG_fail   {goto fail;}
 
#define SWIG_fail_arg(func_name, argnum, type)
 
#define SWIG_fail_ptr(func_name, argnum, type)   SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")
 
#define SWIG_check_num_args(func_name, a, b)
 
#define SWIG_Lua_get_table(L, n)   (lua_pushstring(L, n), lua_rawget(L,-2))
 
#define SWIG_Lua_add_function(L, n, f)
 
#define SWIG_Lua_add_boolean(L, n, b)
 
#define SWIG_isptrtype(L, I)   (lua_isuserdata(L,I) || lua_isnil(L,I))
 
#define SWIG_DOSTRING_FAIL(S)   fprintf(stderr,"%s\n",S)
 

Typedefs

typedef void *(* swig_converter_func )(void *, int *)
 
typedef struct swig_type_info *(* swig_dycast_func )(void **)
 
typedef struct swig_type_info swig_type_info
 
typedef struct swig_cast_info swig_cast_info
 
typedef struct swig_module_info swig_module_info
 
typedef luaL_Reg swig_lua_method
 
typedef struct swig_lua_namespace swig_lua_namespace
 
typedef struct swig_lua_class swig_lua_class
 
typedef int(* swig_lua_base_iterator_func )(lua_State *, swig_type_info *, int, int *ret)
 

Functions

SWIGRUNTIME int SWIG_TypeNameComp (const char *f1, const char *l1, const char *f2, const char *l2)
 
SWIGRUNTIME int SWIG_TypeCmp (const char *nb, const char *tb)
 
SWIGRUNTIME int SWIG_TypeEquiv (const char *nb, const char *tb)
 
SWIGRUNTIME swig_cast_infoSWIG_TypeCheck (const char *c, swig_type_info *ty)
 
SWIGRUNTIME swig_cast_infoSWIG_TypeCheckStruct (swig_type_info *from, swig_type_info *ty)
 
SWIGRUNTIMEINLINE voidSWIG_TypeCast (swig_cast_info *ty, void *ptr, int *newmemory)
 
SWIGRUNTIME swig_type_infoSWIG_TypeDynamicCast (swig_type_info *ty, void **ptr)
 
SWIGRUNTIMEINLINE const char * SWIG_TypeName (const swig_type_info *ty)
 
SWIGRUNTIME const char * SWIG_TypePrettyName (const swig_type_info *type)
 
SWIGRUNTIME void SWIG_TypeClientData (swig_type_info *ti, void *clientdata)
 
SWIGRUNTIME void SWIG_TypeNewClientData (swig_type_info *ti, void *clientdata)
 
SWIGRUNTIME swig_type_infoSWIG_MangledTypeQueryModule (swig_module_info *start, swig_module_info *end, const char *name)
 
SWIGRUNTIME swig_type_infoSWIG_TypeQueryModule (swig_module_info *start, swig_module_info *end, const char *name)
 
SWIGRUNTIME char * SWIG_PackData (char *c, void *ptr, size_t sz)
 
SWIGRUNTIME const char * SWIG_UnpackData (const char *c, void *ptr, size_t sz)
 
SWIGRUNTIME char * SWIG_PackVoidPtr (char *buff, void *ptr, const char *name, size_t bsz)
 
SWIGRUNTIME const char * SWIG_UnpackVoidPtr (const char *c, void **ptr, const char *name)
 
SWIGRUNTIME char * SWIG_PackDataName (char *buff, void *ptr, size_t sz, const char *name, size_t bsz)
 
SWIGRUNTIME const char * SWIG_UnpackDataName (const char *c, void *ptr, size_t sz, const char *name)
 
SWIGRUNTIME void SWIG_Lua_pusherrstring (lua_State *L, const char *str)
 
SWIGRUNTIME void SWIG_Lua_pushferrstring (lua_State *L, const char *fmt,...)
 
SWIGRUNTIME swig_module_infoSWIG_Lua_GetModule (lua_State *L)
 
SWIGRUNTIME void SWIG_Lua_SetModule (lua_State *L, swig_module_info *module)
 
SWIGINTERN int SWIG_Lua_set_immutable (lua_State *L)
 
SWIGINTERN int SWIG_Lua_namespace_get (lua_State *L)
 
SWIGINTERN int SWIG_Lua_namespace_set (lua_State *L)
 
SWIGINTERN void SWIG_Lua_InstallConstants (lua_State *L, swig_lua_const_info constants[])
 
SWIGINTERN void SWIG_Lua_add_variable (lua_State *L, const char *name, lua_CFunction getFn, lua_CFunction setFn)
 
SWIGINTERN void SWIG_Lua_class_register (lua_State *L, swig_lua_class *clss)
 
SWIGINTERN int SWIG_Lua_add_namespace_details (lua_State *L, swig_lua_namespace *ns)
 
SWIGINTERN void SWIG_Lua_add_namespace_classes (lua_State *L, swig_lua_namespace *ns)
 
SWIGINTERN void SWIG_Lua_namespace_register (lua_State *L, swig_lua_namespace *ns, int reg)
 
SWIGINTERN void SWIG_Lua_get_class_metatable (lua_State *L, const char *cname)
 
SWIGINTERN int SWIG_Lua_iterate_bases (lua_State *L, swig_type_info *SWIGUNUSED swig_type, int first_arg, swig_lua_base_iterator_func func, int *const ret)
 
SWIGINTERN int SWIG_Lua_class_do_get (lua_State *L, swig_type_info *type, int SWIGUNUSED first_arg, int *ret)
 
SWIGINTERN int SWIG_Lua_class_get (lua_State *L)
 
SWIGINTERN int SWIG_Lua_class_do_set (lua_State *L, swig_type_info *type, int first_arg, int *ret)
 
SWIGINTERN int SWIG_Lua_class_set (lua_State *L)
 
SWIGINTERN int SWIG_Lua_class_destruct (lua_State *L)
 
SWIGINTERN int SWIG_Lua_class_tostring (lua_State *L)
 
SWIGINTERN int SWIG_Lua_class_disown (lua_State *L)
 
SWIGRUNTIME int SWIG_Lua_class_equal (lua_State *L)
 
SWIGINTERN void SWIG_Lua_populate_inheritable_metamethods (lua_State *L)
 
SWIGINTERN void SWIG_Lua_create_class_registry (lua_State *L)
 
SWIGINTERN void SWIG_Lua_get_class_registry (lua_State *L)
 
SWIGINTERN void SWIG_Lua_get_inheritable_metamethods (lua_State *L)
 
SWIGINTERN void SWIG_Lua_init_base_class (lua_State *L, swig_lua_class *clss)
 
SWIGINTERN void SWIG_Lua_add_class_static_details (lua_State *L, swig_lua_class *clss)
 
SWIGINTERN void SWIG_Lua_add_class_user_metamethods (lua_State *L, swig_lua_class *clss)
 
SWIGINTERN void SWIG_Lua_add_class_instance_details (lua_State *L, swig_lua_class *clss)
 
SWIGRUNTIME int SWIG_Lua_resolve_metamethod (lua_State *L)
 
SWIGINTERN int SWIG_Lua_do_resolve_metamethod (lua_State *L, const swig_lua_class *clss, int metamethod_name_idx, int skip_check)
 
SWIGINTERN int SWIG_Lua_add_class_user_metamethod (lua_State *L, swig_lua_class *clss, const int metatable_index)
 
SWIGINTERN void SWIG_Lua_class_register_static (lua_State *L, swig_lua_class *clss)
 
SWIGINTERN void SWIG_Lua_class_register_instance (lua_State *L, swig_lua_class *clss)
 
SWIGINTERN void SWIG_Lua_AddMetatable (lua_State *L, swig_type_info *type)
 
SWIGRUNTIME void SWIG_Lua_NewPointerObj (lua_State *L, void *ptr, swig_type_info *type, int own)
 
SWIGRUNTIME int SWIG_Lua_ConvertPtr (lua_State *L, int index, void **ptr, swig_type_info *type, int flags)
 
SWIGRUNTIME voidSWIG_Lua_MustGetPtr (lua_State *L, int index, swig_type_info *type, int flags, int argnum, const char *func_name)
 
SWIGRUNTIME void SWIG_Lua_NewPackedObj (lua_State *L, void *ptr, size_t size, swig_type_info *type)
 
SWIGRUNTIME int SWIG_Lua_ConvertPacked (lua_State *L, int index, void *ptr, size_t size, swig_type_info *type)
 
SWIGRUNTIME const char * SWIG_Lua_typename (lua_State *L, int tp)
 
SWIGRUNTIME int SWIG_Lua_type (lua_State *L)
 
SWIGINTERN int SWIG_Lua_dostring (lua_State *L, const char *str)
 
SWIGRUNTIMEINLINE swig_type_infoSWIG_TypeQuery (SWIG_MODULE_CLIENTDATA_TYPE clientdata, const char *name)
 
SWIGRUNTIMEINLINE swig_type_infoSWIG_MangledTypeQuery (SWIG_MODULE_CLIENTDATA_TYPE clientdata, const char *name)
 

Macro Definition Documentation

#define lua_absindex (   L,
  i 
)    ((i)>0 || (i) <= LUA_REGISTRYINDEX ? (i) : lua_gettop(L) + (i) + 1)

Definition at line 882 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_class_register_instance().

#define lua_pushglobaltable (   L)    lua_pushvalue(L, LUA_GLOBALSINDEX)

Definition at line 877 of file swig_lua_runtime.h.

#define lua_rawgetp (   L,
  index,
  ptr 
)
Value:
lua_pushlightuserdata(L,(void*)(ptr));\
lua_rawget(L,index);
QGL_EXTERN GLuint index
Definition: r_gl.h:110

Definition at line 892 of file swig_lua_runtime.h.

#define lua_rawlen   lua_strlen
#define lua_rawsetp (   L,
  index,
  ptr 
)
Value:
lua_pushlightuserdata(L,(void*)(ptr));\
lua_insert(L,-2);\
lua_rawset(L,index);
QGL_EXTERN GLuint index
Definition: r_gl.h:110

Definition at line 887 of file swig_lua_runtime.h.

#define SWIG_AddCast (   r)    (r)

Definition at line 318 of file swig_lua_runtime.h.

#define SWIG_AddNewMask (   r)    (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)

Definition at line 294 of file swig_lua_runtime.h.

#define SWIG_AddTmpMask (   r)    (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)

Definition at line 297 of file swig_lua_runtime.h.

#define SWIG_ArgError (   r)    ((r != SWIG_ERROR) ? r : SWIG_TypeError)

Definition at line 280 of file swig_lua_runtime.h.

#define SWIG_AttributeError   -11

Definition at line 143 of file swig_lua_runtime.h.

#define SWIG_BADOBJ   (SWIG_ERROR)

Definition at line 289 of file swig_lua_runtime.h.

#define SWIG_BUFFER_SIZE   1024

Definition at line 187 of file swig_lua_runtime.h.

#define SWIG_CAST_NEW_MEMORY   0x2

Definition at line 192 of file swig_lua_runtime.h.

#define SWIG_CASTRANKLIMIT   (1 << 8)

Definition at line 283 of file swig_lua_runtime.h.

#define SWIG_check_num_args (   func_name,
  a,
 
)
Value:
if (lua_gettop(L)<a || lua_gettop(L)>b) \
{SWIG_Lua_pushferrstring(L,"Error in %s expected %d..%d args, got %d",func_name,a,b,lua_gettop(L));\
goto fail;}
SWIGRUNTIME void SWIG_Lua_pushferrstring(lua_State *L, const char *fmt,...)

Definition at line 1041 of file swig_lua_runtime.h.

#define SWIG_CheckState (   r)    (SWIG_IsOK(r) ? 1 : 0)

Definition at line 319 of file swig_lua_runtime.h.

#define SWIG_contract_assert (   expr,
  msg 
)    if (!(expr)) { SWIG_Lua_pusherrstring(L, (char *) msg); goto fail; } else

Definition at line 1029 of file swig_lua_runtime.h.

#define SWIG_ConvertMember (   L,
  idx,
  ptr,
  sz,
  ty 
)    SWIG_Lua_ConvertPacked(L, idx, ptr, sz, ty)

Definition at line 1020 of file swig_lua_runtime.h.

#define SWIG_ConvertPtr (   L,
  idx,
  ptr,
  type,
  flags 
)    SWIG_Lua_ConvertPtr(L,idx,ptr,type,flags)

Definition at line 1017 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_MustGetPtr().

#define SWIG_DelNewMask (   r)    (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)

Definition at line 295 of file swig_lua_runtime.h.

#define SWIG_DelTmpMask (   r)    (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)

Definition at line 298 of file swig_lua_runtime.h.

#define SWIG_DivisionByZero   -6

Definition at line 138 of file swig_lua_runtime.h.

#define SWIG_DOSTRING_FAIL (   S)    fprintf(stderr,"%s\n",S)

Definition at line 2597 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_dostring().

#define SWIG_ERROR   (-1)
#define SWIG_fail   {goto fail;}

Definition at line 1034 of file swig_lua_runtime.h.

#define SWIG_fail_arg (   func_name,
  argnum,
  type 
)
Value:
{SWIG_Lua_pushferrstring(L,"Error in %s (arg %d), expected '%s' got '%s'",\
func_name,argnum,type,SWIG_Lua_typename(L,argnum));\
goto fail;}
QGL_EXTERN GLint GLenum type
Definition: r_gl.h:94
SWIGRUNTIME void SWIG_Lua_pushferrstring(lua_State *L, const char *fmt,...)
SWIGRUNTIME const char * SWIG_Lua_typename(lua_State *L, int tp)

Definition at line 1035 of file swig_lua_runtime.h.

#define SWIG_fail_ptr (   func_name,
  argnum,
  type 
)    SWIG_fail_arg(func_name,argnum,(type && type->str)?type->str:"void*")

Definition at line 1039 of file swig_lua_runtime.h.

#define SWIG_GetModule (   clientdata)    SWIG_Lua_GetModule((lua_State*)(clientdata))
#define SWIG_IndexError   -4

Definition at line 136 of file swig_lua_runtime.h.

#define SWIG_IOError   -2

Definition at line 134 of file swig_lua_runtime.h.

#define SWIG_IsNewObj (   r)    (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))

Definition at line 296 of file swig_lua_runtime.h.

#define SWIG_IsOK (   r)    (r >= 0)

Definition at line 279 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_MustGetPtr().

#define SWIG_isptrtype (   L,
 
)    (lua_isuserdata(L,I) || lua_isnil(L,I))

Definition at line 1061 of file swig_lua_runtime.h.

#define SWIG_IsTmpObj (   r)    (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))

Definition at line 299 of file swig_lua_runtime.h.

#define SWIG_Lua_add_boolean (   L,
  n,
 
)
Value:
(lua_pushstring(L, n), \
lua_pushboolean(L, b), \
lua_rawset(L,-3))

Definition at line 1055 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_populate_inheritable_metamethods().

#define SWIG_Lua_add_function (   L,
  n,
  f 
)
Value:
(lua_pushstring(L, n), \
lua_pushcfunction(L, f), \
lua_rawset(L,-3))
QGL_EXTERN GLfloat f
Definition: r_gl.h:114

Definition at line 1050 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_add_class_instance_details(), SWIG_Lua_add_namespace_details(), SWIG_Lua_add_variable(), SWIG_Lua_class_register_instance(), SWIG_Lua_class_register_static(), and SWIG_Lua_namespace_register().

#define SWIG_LUA_BINARY   5

Definition at line 936 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_InstallConstants().

#define SWIG_LUA_CHAR   6

Definition at line 937 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_InstallConstants().

#define SWIG_LUA_CONSTTAB_BINARY (   B,
  S,
  C,
 
)    SWIG_LUA_BINARY, (char *)B, S, 0, (void *)C, &D

Definition at line 832 of file swig_lua_runtime.h.

#define SWIG_LUA_CONSTTAB_CHAR (   B,
 
)    SWIG_LUA_CHAR, (char *)B, (long)C, 0, 0, 0

Definition at line 829 of file swig_lua_runtime.h.

#define SWIG_LUA_CONSTTAB_FLOAT (   B,
 
)    SWIG_LUA_FLOAT, (char *)B, 0, (double)C, 0, 0

Definition at line 827 of file swig_lua_runtime.h.

#define SWIG_LUA_CONSTTAB_INT (   B,
 
)    SWIG_LUA_INT, (char *)B, (long)C, 0, 0, 0

Definition at line 826 of file swig_lua_runtime.h.

#define SWIG_LUA_CONSTTAB_POINTER (   B,
  C,
 
)    SWIG_LUA_POINTER, (char *)B, 0, 0, (void *)C, &D

Definition at line 830 of file swig_lua_runtime.h.

#define SWIG_LUA_CONSTTAB_STRING (   B,
 
)    SWIG_LUA_STRING, (char *)B, 0, 0, (void *)C, 0

Definition at line 828 of file swig_lua_runtime.h.

#define SWIG_LUA_FLAVOR_ELUA   2

Definition at line 743 of file swig_lua_runtime.h.

#define SWIG_LUA_FLAVOR_ELUAC   3

Definition at line 744 of file swig_lua_runtime.h.

#define SWIG_LUA_FLAVOR_LUA   1

Definition at line 742 of file swig_lua_runtime.h.

#define SWIG_LUA_FLOAT   2

Definition at line 933 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_InstallConstants().

#define SWIG_Lua_get_table (   L,
 
)    (lua_pushstring(L, n), lua_rawget(L,-2))
#define SWIG_LUA_INT   1

Definition at line 932 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_InstallConstants().

#define SWIG_LUA_POINTER   4

Definition at line 935 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_InstallConstants().

#define SWIG_LUA_STRING   3

Definition at line 934 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_InstallConstants().

#define SWIG_LUA_TARGET   SWIG_LUA_FLAVOR_LUA

Definition at line 720 of file swig_lua_runtime.h.

#define SWIG_MemoryError   -12

Definition at line 144 of file swig_lua_runtime.h.

#define SWIG_MODULE_CLIENTDATA_TYPE   lua_State*

Definition at line 1026 of file swig_lua_runtime.h.

#define SWIG_MustGetPtr (   L,
  idx,
  type,
  flags,
  argnum,
  fnname 
)    SWIG_Lua_MustGetPtr(L,idx, type,flags, argnum,fnname)

Definition at line 1018 of file swig_lua_runtime.h.

#define SWIG_NewMemberObj (   L,
  ptr,
  sz,
  type 
)    SWIG_Lua_NewPackedObj(L, ptr, sz, type)

Definition at line 1021 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_InstallConstants().

#define SWIG_NEWOBJ   (SWIG_OK | SWIG_NEWOBJMASK)

Definition at line 291 of file swig_lua_runtime.h.

#define SWIG_NEWOBJMASK   (SWIG_CASTRANKLIMIT << 1)

Definition at line 285 of file swig_lua_runtime.h.

#define SWIG_NewPointerObj (   L,
  ptr,
  type,
  owner 
)    SWIG_Lua_NewPointerObj(L, (void *)ptr, type, owner)

Definition at line 1016 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_InstallConstants().

#define SWIG_NullReferenceError   -13

Definition at line 145 of file swig_lua_runtime.h.

#define SWIG_OLDOBJ   (SWIG_OK)

Definition at line 290 of file swig_lua_runtime.h.

#define SWIG_OverflowError   -7

Definition at line 139 of file swig_lua_runtime.h.

#define SWIG_POINTER_DISOWN   0x1

Definition at line 191 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_ConvertPtr().

#define SWIG_POINTER_OWN   0x1

Definition at line 195 of file swig_lua_runtime.h.

#define SWIG_RUNTIME_VERSION   "4"

Definition at line 157 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_GetModule(), and SWIG_Lua_SetModule().

#define SWIG_RuntimeError   -3

Definition at line 135 of file swig_lua_runtime.h.

#define SWIG_SetModule (   clientdata,
  pointer 
)    SWIG_Lua_SetModule((lua_State*) (clientdata), pointer)

Definition at line 1025 of file swig_lua_runtime.h.

#define SWIG_SyntaxError   -8

Definition at line 140 of file swig_lua_runtime.h.

#define SWIG_SystemError   -10

Definition at line 142 of file swig_lua_runtime.h.

#define SWIG_TMPOBJ   (SWIG_OK | SWIG_TMPOBJMASK)

Definition at line 292 of file swig_lua_runtime.h.

#define SWIG_TMPOBJMASK   (SWIG_NEWOBJMASK << 1)

Definition at line 287 of file swig_lua_runtime.h.

#define SWIG_TYPE_TABLE_NAME

Definition at line 165 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_GetModule(), and SWIG_Lua_SetModule().

#define SWIG_TypeError   -5

Definition at line 137 of file swig_lua_runtime.h.

#define SWIG_UnknownError   -1

Definition at line 133 of file swig_lua_runtime.h.

#define SWIG_ValueError   -9

Definition at line 141 of file swig_lua_runtime.h.

#define SWIGEXPORT

Definition at line 95 of file swig_lua_runtime.h.

#define SWIGINLINE

Definition at line 34 of file swig_lua_runtime.h.

#define SWIGINTERN   static SWIGUNUSED

Definition at line 69 of file swig_lua_runtime.h.

#define SWIGINTERNINLINE   SWIGINTERN SWIGINLINE

Definition at line 74 of file swig_lua_runtime.h.

#define SWIGRUNTIME   SWIGINTERN

Definition at line 178 of file swig_lua_runtime.h.

#define SWIGRUNTIMEINLINE   SWIGRUNTIME SWIGINLINE

Definition at line 182 of file swig_lua_runtime.h.

#define SWIGSTDCALL

Definition at line 105 of file swig_lua_runtime.h.

#define SWIGTEMPLATEDISAMBIGUATOR

Definition at line 25 of file swig_lua_runtime.h.

#define SWIGUNUSEDPARM (   p)    p SWIGUNUSED

Definition at line 63 of file swig_lua_runtime.h.

Typedef Documentation

typedef void*(* swig_converter_func)(void *, int *)

Definition at line 329 of file swig_lua_runtime.h.

typedef struct swig_type_info*(* swig_dycast_func)(void **)

Definition at line 330 of file swig_lua_runtime.h.

typedef int(* swig_lua_base_iterator_func)(lua_State *, swig_type_info *, int, int *ret)

Definition at line 1431 of file swig_lua_runtime.h.

typedef luaL_Reg swig_lua_method

Definition at line 950 of file swig_lua_runtime.h.

Function Documentation

SWIGINTERN void SWIG_Lua_add_class_static_details ( lua_State *  L,
swig_lua_class clss 
)
SWIGINTERN int SWIG_Lua_add_class_user_metamethod ( lua_State *  L,
swig_lua_class clss,
const int  metatable_index 
)
SWIGINTERN void SWIG_Lua_add_namespace_classes ( lua_State *  L,
swig_lua_namespace ns 
)
SWIGINTERN void SWIG_Lua_add_variable ( lua_State *  L,
const char *  name,
lua_CFunction  getFn,
lua_CFunction  setFn 
)
SWIGINTERN void SWIG_Lua_AddMetatable ( lua_State *  L,
swig_type_info type 
)
SWIGINTERN int SWIG_Lua_class_disown ( lua_State *  L)

Definition at line 1748 of file swig_lua_runtime.h.

References swig_lua_userdata::own.

Referenced by SWIG_Lua_class_register_instance().

SWIGINTERN int SWIG_Lua_class_do_get ( lua_State *  L,
swig_type_info type,
int SWIGUNUSED  first_arg,
int ret 
)

Definition at line 1533 of file swig_lua_runtime.h.

References SWIG_Lua_get_table, SWIG_Lua_iterate_bases(), and SWIG_OK.

Referenced by SWIG_Lua_class_get().

SWIGINTERN int SWIG_Lua_class_do_set ( lua_State *  L,
swig_type_info type,
int  first_arg,
int ret 
)

Definition at line 1621 of file swig_lua_runtime.h.

References SWIG_Lua_get_table, SWIG_Lua_iterate_bases(), and SWIG_OK.

Referenced by SWIG_Lua_class_set().

SWIGRUNTIME int SWIG_Lua_class_equal ( lua_State *  L)

Definition at line 1763 of file swig_lua_runtime.h.

References swig_lua_userdata::ptr.

Referenced by SWIG_Lua_add_class_user_metamethods().

SWIGINTERN int SWIG_Lua_class_get ( lua_State *  L)
SWIGINTERN int SWIG_Lua_class_set ( lua_State *  L)
SWIGINTERN int SWIG_Lua_class_tostring ( lua_State *  L)

Definition at line 1729 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_add_class_user_metamethods().

SWIGRUNTIME int SWIG_Lua_ConvertPacked ( lua_State *  L,
int  index,
void ptr,
size_t  size,
swig_type_info type 
)
SWIGRUNTIME int SWIG_Lua_ConvertPtr ( lua_State *  L,
int  index,
void **  ptr,
swig_type_info type,
int  flags 
)
SWIGINTERN void SWIG_Lua_create_class_registry ( lua_State *  L)
SWIGINTERN int SWIG_Lua_do_resolve_metamethod ( lua_State *  L,
const swig_lua_class clss,
int  metamethod_name_idx,
int  skip_check 
)
SWIGINTERN int SWIG_Lua_dostring ( lua_State *  L,
const char *  str 
)

Definition at line 2605 of file swig_lua_runtime.h.

References SWIG_DOSTRING_FAIL.

SWIGINTERN void SWIG_Lua_get_class_registry ( lua_State *  L)
SWIGINTERN void SWIG_Lua_get_inheritable_metamethods ( lua_State *  L)

Definition at line 1837 of file swig_lua_runtime.h.

References SWIG_Lua_get_class_registry().

Referenced by SWIG_Lua_add_class_user_metamethods().

SWIGRUNTIME swig_module_info* SWIG_Lua_GetModule ( lua_State *  L)

Definition at line 1071 of file swig_lua_runtime.h.

References SWIG_RUNTIME_VERSION, and SWIG_TYPE_TABLE_NAME.

SWIGINTERN void SWIG_Lua_init_base_class ( lua_State *  L,
swig_lua_class clss 
)
SWIGINTERN int SWIG_Lua_iterate_bases ( lua_State *  L,
swig_type_info *SWIGUNUSED  swig_type,
int  first_arg,
swig_lua_base_iterator_func  func,
int *const  ret 
)
SWIGRUNTIME void* SWIG_Lua_MustGetPtr ( lua_State *  L,
int  index,
swig_type_info type,
int  flags,
int  argnum,
const char *  func_name 
)

Definition at line 2484 of file swig_lua_runtime.h.

References swig_type_info::str, SWIG_ConvertPtr, and SWIG_IsOK.

SWIGINTERN int SWIG_Lua_namespace_get ( lua_State *  L)

Definition at line 1252 of file swig_lua_runtime.h.

References SWIG_Lua_get_table.

Referenced by SWIG_Lua_namespace_register().

SWIGINTERN int SWIG_Lua_namespace_set ( lua_State *  L)

Definition at line 1289 of file swig_lua_runtime.h.

References SWIG_Lua_get_table.

Referenced by SWIG_Lua_namespace_register().

SWIGRUNTIME void SWIG_Lua_NewPackedObj ( lua_State *  L,
void ptr,
size_t  size,
swig_type_info type 
)
SWIGRUNTIME void SWIG_Lua_NewPointerObj ( lua_State *  L,
void ptr,
swig_type_info type,
int  own 
)
SWIGINTERN void SWIG_Lua_populate_inheritable_metamethods ( lua_State *  L)

Definition at line 1778 of file swig_lua_runtime.h.

References SWIG_Lua_add_boolean.

Referenced by SWIG_Lua_create_class_registry().

SWIGRUNTIME void SWIG_Lua_pusherrstring ( lua_State *  L,
const char *  str 
)

Definition at line 906 of file swig_lua_runtime.h.

SWIGRUNTIME void SWIG_Lua_pushferrstring ( lua_State *  L,
const char *  fmt,
  ... 
)

Definition at line 917 of file swig_lua_runtime.h.

Referenced by SWIG_Lua_class_set(), and SWIG_Lua_resolve_metamethod().

SWIGRUNTIME int SWIG_Lua_resolve_metamethod ( lua_State *  L)
SWIGINTERN int SWIG_Lua_set_immutable ( lua_State *  L)

Definition at line 1096 of file swig_lua_runtime.h.

SWIGRUNTIME void SWIG_Lua_SetModule ( lua_State *  L,
swig_module_info module 
)

Definition at line 1082 of file swig_lua_runtime.h.

References SWIG_RUNTIME_VERSION, and SWIG_TYPE_TABLE_NAME.

SWIGRUNTIME int SWIG_Lua_type ( lua_State *  L)

Definition at line 2535 of file swig_lua_runtime.h.

References SWIG_Lua_typename().

SWIGRUNTIME const char* SWIG_Lua_typename ( lua_State *  L,
int  tp 
)

Definition at line 2521 of file swig_lua_runtime.h.

References swig_type_info::str, and swig_lua_userdata::type.

Referenced by SWIG_Lua_type().

SWIGRUNTIMEINLINE swig_type_info* SWIG_MangledTypeQuery ( SWIG_MODULE_CLIENTDATA_TYPE  clientdata,
const char *  name 
)

Definition at line 2644 of file swig_lua_runtime.h.

References SWIG_GetModule, and SWIG_MangledTypeQueryModule().

SWIGRUNTIME swig_type_info* SWIG_MangledTypeQueryModule ( swig_module_info start,
swig_module_info end,
const char *  name 
)
SWIGRUNTIME char* SWIG_PackData ( char *  c,
void ptr,
size_t  sz 
)

Definition at line 622 of file swig_lua_runtime.h.

Referenced by SWIG_PackDataName(), and SWIG_PackVoidPtr().

SWIGRUNTIME char* SWIG_PackDataName ( char *  buff,
void ptr,
size_t  sz,
const char *  name,
size_t  bsz 
)

Definition at line 690 of file swig_lua_runtime.h.

References SWIG_PackData().

SWIGRUNTIME char* SWIG_PackVoidPtr ( char *  buff,
void ptr,
const char *  name,
size_t  bsz 
)

Definition at line 666 of file swig_lua_runtime.h.

References SWIG_PackData().

SWIGRUNTIMEINLINE void* SWIG_TypeCast ( swig_cast_info ty,
void ptr,
int newmemory 
)

Definition at line 466 of file swig_lua_runtime.h.

References swig_cast_info::converter.

Referenced by SWIG_Lua_ConvertPtr().

SWIGRUNTIME swig_cast_info* SWIG_TypeCheckStruct ( swig_type_info from,
swig_type_info ty 
)
SWIGRUNTIME int SWIG_TypeCmp ( const char *  nb,
const char *  tb 
)

Definition at line 385 of file swig_lua_runtime.h.

References SWIG_TypeNameComp().

Referenced by SWIG_TypeEquiv().

SWIGRUNTIME swig_type_info* SWIG_TypeDynamicCast ( swig_type_info ty,
void **  ptr 
)

Definition at line 474 of file swig_lua_runtime.h.

References swig_type_info::dcast.

SWIGRUNTIME int SWIG_TypeEquiv ( const char *  nb,
const char *  tb 
)

Definition at line 404 of file swig_lua_runtime.h.

References SWIG_TypeCmp().

Referenced by SWIG_TypeQueryModule().

SWIGRUNTIMEINLINE const char* SWIG_TypeName ( const swig_type_info ty)

Definition at line 488 of file swig_lua_runtime.h.

References swig_type_info::name.

SWIGRUNTIME int SWIG_TypeNameComp ( const char *  f1,
const char *  l1,
const char *  f2,
const char *  l2 
)

Definition at line 370 of file swig_lua_runtime.h.

Referenced by SWIG_TypeCmp().

SWIGRUNTIME void SWIG_TypeNewClientData ( swig_type_info ti,
void clientdata 
)

Definition at line 534 of file swig_lua_runtime.h.

References swig_type_info::owndata, and SWIG_TypeClientData().

SWIGRUNTIME const char* SWIG_TypePrettyName ( const swig_type_info type)

Definition at line 497 of file swig_lua_runtime.h.

References swig_type_info::name, and swig_type_info::str.

SWIGRUNTIMEINLINE swig_type_info* SWIG_TypeQuery ( SWIG_MODULE_CLIENTDATA_TYPE  clientdata,
const char *  name 
)

Definition at line 2638 of file swig_lua_runtime.h.

References SWIG_GetModule, and SWIG_TypeQueryModule().

SWIGRUNTIME const char* SWIG_UnpackData ( const char *  c,
void ptr,
size_t  sz 
)

Definition at line 638 of file swig_lua_runtime.h.

Referenced by SWIG_UnpackDataName(), and SWIG_UnpackVoidPtr().

SWIGRUNTIME const char* SWIG_UnpackDataName ( const char *  c,
void ptr,
size_t  sz,
const char *  name 
)

Definition at line 705 of file swig_lua_runtime.h.

References name, and SWIG_UnpackData().

SWIGRUNTIME const char* SWIG_UnpackVoidPtr ( const char *  c,
void **  ptr,
const char *  name 
)

Definition at line 677 of file swig_lua_runtime.h.

References name, and SWIG_UnpackData().