diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-31 11:02:58 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-03-31 11:02:58 -0300 |
commit | ad5574c4c97af3ef863a6fb4b72142f3780103b2 (patch) | |
tree | 7ef70322749e3e433321edbea89d61087d820c55 /func.c | |
parent | 264f8c5e7bd168de2f0ca07399e6fc70d5a820d3 (diff) | |
download | lua-ad5574c4c97af3ef863a6fb4b72142f3780103b2.tar.gz lua-ad5574c4c97af3ef863a6fb4b72142f3780103b2.tar.bz2 lua-ad5574c4c97af3ef863a6fb4b72142f3780103b2.zip |
"Object" renamed to "TObject" (Tagged Object), to avoid conflicts with
pre-defined names in some C compilers.
Diffstat (limited to 'func.c')
-rw-r--r-- | func.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ Long luaI_funccollector (void) | |||
83 | 83 | ||
84 | void lua_funcinfo (lua_Object func, char **filename, int *linedefined) | 84 | void lua_funcinfo (lua_Object func, char **filename, int *linedefined) |
85 | { | 85 | { |
86 | Object *f = luaI_Address(func); | 86 | TObject *f = luaI_Address(func); |
87 | if (f->ttype == LUA_T_MARK || f->ttype == LUA_T_FUNCTION) | 87 | if (f->ttype == LUA_T_MARK || f->ttype == LUA_T_FUNCTION) |
88 | { | 88 | { |
89 | *filename = f->value.tf->fileName; | 89 | *filename = f->value.tf->fileName; |