mirror of https://github.com/rusefi/lua.git
lua.h should not use names without prefix lua_ (`TObject', for instance)
This commit is contained in:
parent
11a7022067
commit
91f34fb05c
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lobject.h,v 1.61 2000/04/25 16:55:09 roberto Exp roberto $
|
||||
** $Id: lobject.h,v 1.62 2000/05/08 19:32:53 roberto Exp roberto $
|
||||
** Type definitions for Lua objects
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
@ -79,7 +79,7 @@ typedef union {
|
|||
#define avalue(o) ((o)->value.a)
|
||||
|
||||
|
||||
typedef struct TObject {
|
||||
typedef struct lua_TObject {
|
||||
lua_Type ttype;
|
||||
Value value;
|
||||
} TObject;
|
||||
|
|
4
lua.h
4
lua.h
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lua.h,v 1.48 2000/04/17 19:23:12 roberto Exp roberto $
|
||||
** $Id: lua.h,v 1.49 2000/05/08 19:32:53 roberto Exp roberto $
|
||||
** Lua - An Extensible Extension Language
|
||||
** TeCGraf: Grupo de Tecnologia em Computacao Grafica, PUC-Rio, Brazil
|
||||
** e-mail: lua@tecgraf.puc-rio.br
|
||||
|
@ -25,7 +25,7 @@ typedef struct lua_State lua_State;
|
|||
|
||||
typedef void (*lua_CFunction) (lua_State *L);
|
||||
|
||||
typedef struct TObject *lua_Object;
|
||||
typedef struct lua_TObject *lua_Object;
|
||||
|
||||
#define LUA_NOOBJECT ((lua_Object)0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue