diff options
Diffstat (limited to 'src/lua/tolua_tt.h')
-rw-r--r-- | src/lua/tolua_tt.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lua/tolua_tt.h b/src/lua/tolua_tt.h new file mode 100644 index 00000000..941a2b02 --- /dev/null +++ b/src/lua/tolua_tt.h @@ -0,0 +1,31 @@ +/* tolua: type & tag manipulation. +** Support code for Lua bindings. +** Written by Waldemar Celes +** TeCGraf/PUC-Rio +** Jul 1998 +** $Id: tolua_tt.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_tt_h +#define tolua_tt_h + +void toluaI_tt_init (lua_State* L); +void toluaI_tt_register (lua_State* L, int tag, char* type); +void toluaI_tt_class (lua_State* L, int lo, char* derived, char* base); +void toluaI_tt_sethierarchy (lua_State* L, int tag, int btag); +int toluaI_tt_isusertype (lua_State* L, int lo); +int toluaI_tt_gettag (lua_State* L, char* type); +const char* toluaI_tt_getobjtype (lua_State* L, int lo); +char* toluaI_tt_concat (const char* s1, const char* s2); + + + + +#endif |