diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-18 10:36:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-18 10:36:14 -0300 |
commit | ca41b43f53562e64abe433d6346d174c92548603 (patch) | |
tree | 03f7a99f76359fc1e0bbc45fc13e579ff2aafabb /ltm.c | |
parent | 3511e186cde4b78f268d17199d0f46fb3eaa9638 (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||