aboutsummaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-18 10:36:14 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-07-18 10:36:14 -0300
commitca41b43f53562e64abe433d6346d174c92548603 (patch)
tree03f7a99f76359fc1e0bbc45fc13e579ff2aafabb /ltm.c
parent3511e186cde4b78f268d17199d0f46fb3eaa9638 (diff)
downloadlua-ca41b43f53562e64abe433d6346d174c92548603.tar.gz
lua-ca41b43f53562e64abe433d6346d174c92548603.tar.bz2
lua-ca41b43f53562e64abe433d6346d174c92548603.zip
type 'TString' refers directly to the structure inside the union
(union used only for size purposes)
Diffstat (limited to '')
-rw-r--r--ltm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index dfe0cc4b..396b28ea 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 2.27 2014/06/10 18:53:18 roberto Exp roberto $ 2** $Id: ltm.c,v 2.28 2014/07/18 12:17:54 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -45,7 +45,7 @@ void luaT_init (lua_State *L) {
45 int i; 45 int i;
46 for (i=0; i<TM_N; i++) { 46 for (i=0; i<TM_N; i++) {
47 G(L)->tmname[i] = luaS_new(L, luaT_eventname[i]); 47 G(L)->tmname[i] = luaS_new(L, luaT_eventname[i]);
48 luaC_fix(L, ts2gco(G(L)->tmname[i])); /* never collect these names */ 48 luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */
49 } 49 }
50} 50}
51 51