summaryrefslogtreecommitdiff
path: root/src/lua/tolua_tm.h
blob: c1bf06dca828eee92d737d4a702b77b1f4b4be56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* tolua: tag methods
** Support code for Lua bindings.
** Written by Waldemar Celes
** TeCGraf/PUC-Rio
** Jul 1998
** $Id: tolua_tm.h,v 1.2 2001/11/26 23:00:27 darkgod Exp $
*/

/* This code is free software; you can redistribute it and/or modify it.
** The software provided hereunder is on an "as is" basis, and
** the author has no obligation to provide maintenance, support, updates,
** enhancements, or modifications.
*/



#ifndef tolua_tm_h
#define tolua_tm_h

void toluaI_tm_init (lua_State* L);
void toluaI_tm_global (lua_State* L, int lo);
void toluaI_tm_module (lua_State* L, int lo);
void toluaI_tm_class (lua_State* L, int lo, char* name);
void toluaI_tm_instance (lua_State* L, int tag, int lo);
void toluaI_tm_linstance (lua_State* L, int tag, int lo);
void toluaI_tm_using (lua_State* L, int module);
void toluaI_tm_setclass (lua_State* L, int lo);
void toluaI_tm_pushmate (lua_State* L, int lo);
void toluaI_tm_pushclass (lua_State* L, int lo);


#endif