aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-08 16:37:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-05-08 16:37:10 -0300
commit91f34fb05caa9590cd19a986e865a93361b1c398 (patch)
treeb176fee3ec1b84420e737dc16b4de8fe1febbf46
parent11a70220670f25a9929439f0b27331f09f05235c (diff)
downloadlua-91f34fb05caa9590cd19a986e865a93361b1c398.tar.gz
lua-91f34fb05caa9590cd19a986e865a93361b1c398.tar.bz2
lua-91f34fb05caa9590cd19a986e865a93361b1c398.zip
lua.h should not use names without prefix lua_ (`TObject', for instance)
-rw-r--r--lobject.h4
-rw-r--r--lua.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lobject.h b/lobject.h
index c4e605c6..a02cc047 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.61 2000/04/25 16:55:09 roberto Exp roberto $ 2** $Id: lobject.h,v 1.62 2000/05/08 19:32:53 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -79,7 +79,7 @@ typedef union {
79#define avalue(o) ((o)->value.a) 79#define avalue(o) ((o)->value.a)
80 80
81 81
82typedef struct TObject { 82typedef struct lua_TObject {
83 lua_Type ttype; 83 lua_Type ttype;
84 Value value; 84 Value value;
85} TObject; 85} TObject;
diff --git a/lua.h b/lua.h
index 58d5b27d..92f50bb6 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.48 2000/04/17 19:23:12 roberto Exp roberto $ 2** $Id: lua.h,v 1.49 2000/05/08 19:32:53 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil 4** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
5** e-mail: lua@tecgraf.puc-rio.br 5** e-mail: lua@tecgraf.puc-rio.br
@@ -25,7 +25,7 @@ typedef struct lua_State lua_State;
25 25
26typedef void (*lua_CFunction) (lua_State *L); 26typedef void (*lua_CFunction) (lua_State *L);
27 27
28typedef struct TObject *lua_Object; 28typedef struct lua_TObject *lua_Object;
29 29
30#define LUA_NOOBJECT ((lua_Object)0) 30#define LUA_NOOBJECT ((lua_Object)0)
31 31