# ltm.c File Reference

`#include <string.h>`
`#include "lua.h"`
`#include "lobject.h"`
`#include "lstate.h"`
`#include "lstring.h"`
`#include "ltable.h"`
`#include "ltm.h"`

## Defines
#define | ltm_c
#define | LUA_CORE
## Functions
void | luaT_init (lua_State *L)
const TValue * | luaT_gettm (Table *events, TMS event, TString *ename)
const TValue * | luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event)
## Variables
const char *const | luaT_typenames []

## Define Documentation

#define ltm_c

#define LUA_CORE

## Function Documentation

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

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

void luaT_init | ( | lua_State * | L | ) |

## Variable Documentation

const char* const luaT_typenames[]

Initial value:

     {
      "nil", "boolean", "userdata", "number",
      "string", "table", "function", "userdata", "thread",
      "proto", "upval"
    }