Macros | Functions | Variables
ltm.c File Reference
#include "lprefix.h"
#include <string.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lgc.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#include "ltm.h"
#include "lvm.h"
Include dependency graph for ltm.c:

Go to the source code of this file.

Macros

#define ltm_c
 
#define LUA_CORE
 

Functions

static int callbinTM (lua_State *L, const TValue *p1, const TValue *p2, StkId res, TMS event)
 
void luaT_adjustvarargs (lua_State *L, int nfixparams, CallInfo *ci, const Proto *p)
 
int luaT_callorderiTM (lua_State *L, const TValue *p1, int v2, int flip, int isfloat, TMS event)
 
int luaT_callorderTM (lua_State *L, const TValue *p1, const TValue *p2, TMS event)
 
void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1, const TValue *p2, const TValue *p3)
 
void luaT_callTMres (lua_State *L, const TValue *f, const TValue *p1, const TValue *p2, StkId res)
 
const TValueluaT_gettm (Table *events, TMS event, TString *ename)
 
const TValueluaT_gettmbyobj (lua_State *L, const TValue *o, TMS event)
 
void luaT_getvarargs (lua_State *L, CallInfo *ci, StkId where, int wanted)
 
void luaT_init (lua_State *L)
 
const char * luaT_objtypename (lua_State *L, const TValue *o)
 
void luaT_trybinassocTM (lua_State *L, const TValue *p1, const TValue *p2, int flip, StkId res, TMS event)
 
void luaT_trybiniTM (lua_State *L, const TValue *p1, lua_Integer i2, int flip, StkId res, TMS event)
 
void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, StkId res, TMS event)
 
void luaT_tryconcatTM (lua_State *L)
 

Variables

const LUAI_DDEF char *const luaT_typenames_ [LUA_TOTALTYPES]
 
static const char udatatypename [] = "userdata"
 

Macro Definition Documentation

◆ ltm_c

#define ltm_c

Definition at line 7 of file ltm.c.

◆ LUA_CORE

#define LUA_CORE

Definition at line 8 of file ltm.c.

Function Documentation

◆ callbinTM()

static int callbinTM ( lua_State L,
const TValue p1,
const TValue p2,
StkId  res,
TMS  event 
)
static

Definition at line 137 of file ltm.c.

◆ luaT_adjustvarargs()

void luaT_adjustvarargs ( lua_State L,
int  nfixparams,
CallInfo ci,
const Proto p 
)

Definition at line 238 of file ltm.c.

◆ luaT_callorderiTM()

int luaT_callorderiTM ( lua_State L,
const TValue p1,
int  v2,
int  flip,
int  isfloat,
TMS  event 
)

Definition at line 221 of file ltm.c.

◆ luaT_callorderTM()

int luaT_callorderTM ( lua_State L,
const TValue p1,
const TValue p2,
TMS  event 
)

Definition at line 201 of file ltm.c.

◆ luaT_callTM()

void luaT_callTM ( lua_State L,
const TValue f,
const TValue p1,
const TValue p2,
const TValue p3 
)

Definition at line 103 of file ltm.c.

◆ luaT_callTMres()

void luaT_callTMres ( lua_State L,
const TValue f,
const TValue p1,
const TValue p2,
StkId  res 
)

Definition at line 119 of file ltm.c.

◆ luaT_gettm()

const TValue* luaT_gettm ( Table events,
TMS  event,
TString ename 
)

Definition at line 60 of file ltm.c.

◆ luaT_gettmbyobj()

const TValue* luaT_gettmbyobj ( lua_State L,
const TValue o,
TMS  event 
)

Definition at line 71 of file ltm.c.

◆ luaT_getvarargs()

void luaT_getvarargs ( lua_State L,
CallInfo ci,
StkId  where,
int  wanted 
)

Definition at line 258 of file ltm.c.

◆ luaT_init()

void luaT_init ( lua_State L)

Definition at line 38 of file ltm.c.

◆ luaT_objtypename()

const char* luaT_objtypename ( lua_State L,
const TValue o 
)

Definition at line 91 of file ltm.c.

◆ luaT_trybinassocTM()

void luaT_trybinassocTM ( lua_State L,
const TValue p1,
const TValue p2,
int  flip,
StkId  res,
TMS  event 
)

Definition at line 175 of file ltm.c.

◆ luaT_trybiniTM()

void luaT_trybiniTM ( lua_State L,
const TValue p1,
lua_Integer  i2,
int  flip,
StkId  res,
TMS  event 
)

Definition at line 184 of file ltm.c.

◆ luaT_trybinTM()

void luaT_trybinTM ( lua_State L,
const TValue p1,
const TValue p2,
StkId  res,
TMS  event 
)

Definition at line 148 of file ltm.c.

◆ luaT_tryconcatTM()

void luaT_tryconcatTM ( lua_State L)

Definition at line 167 of file ltm.c.

Variable Documentation

◆ luaT_typenames_

const LUAI_DDEF char* const luaT_typenames_[LUA_TOTALTYPES]
Initial value:
= {
"no value",
"nil", "boolean", udatatypename, "number",
"string", "table", "function", udatatypename, "thread",
"upvalue", "proto"
}

Definition at line 30 of file ltm.c.

◆ udatatypename

const char udatatypename[] = "userdata"
static

Definition at line 28 of file ltm.c.

udatatypename
static const char udatatypename[]
Definition: ltm.c:28


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:49