aboutsummaryrefslogtreecommitdiff
path: root/func.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-03-31 11:02:58 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1997-03-31 11:02:58 -0300
commitad5574c4c97af3ef863a6fb4b72142f3780103b2 (patch)
tree7ef70322749e3e433321edbea89d61087d820c55 /func.c
parent264f8c5e7bd168de2f0ca07399e6fc70d5a820d3 (diff)
downloadlua-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/func.c b/func.c
index 61cd614a..f6055041 100644
--- a/func.c
+++ b/func.c
@@ -83,7 +83,7 @@ Long luaI_funccollector (void)
83 83
84void lua_funcinfo (lua_Object func, char **filename, int *linedefined) 84void 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;