summaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltm.c')
-rw-r--r--ltm.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ltm.c b/ltm.c
index 57c0df28..a58934fa 100644
--- a/ltm.c
+++ b/ltm.c
@@ -108,20 +108,6 @@ static void checktag (lua_State *L, int tag) {
108} 108}
109 109
110 110
111LUA_API int lua_copytagmethods (lua_State *L, int tagto, int tagfrom) {
112 int e;
113 lua_lock(L);
114 checktag(L, tagto);
115 checktag(L, tagfrom);
116 for (e=0; e<TM_N; e++) {
117 if (luaT_validevent(tagto, e))
118 luaT_gettm(G(L), tagto, e) = luaT_gettm(G(L), tagfrom, e);
119 }
120 lua_unlock(L);
121 return tagto;
122}
123
124
125int luaT_tag (const TObject *o) { 111int luaT_tag (const TObject *o) {
126 int t = ttype(o); 112 int t = ttype(o);
127 switch (t) { 113 switch (t) {