summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-12-18 13:32:36 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-12-18 13:32:36 -0200
commitec0fc1a13bf6082659efeedbdf50b5cc1e69da3d (patch)
tree1a8b590e5475a172fb118cb5ea3eee64841234c5 /lua.h
parentc3a6f3fa1c6360d4ea2e32f9415f51e8e55093b4 (diff)
downloadlua-ec0fc1a13bf6082659efeedbdf50b5cc1e69da3d.tar.gz
lua-ec0fc1a13bf6082659efeedbdf50b5cc1e69da3d.tar.bz2
lua-ec0fc1a13bf6082659efeedbdf50b5cc1e69da3d.zip
missing parentheses around 'lua_version' + moving typdef's before
the extra include
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/lua.h b/lua.h
index f41a6690..39b1601c 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.253 2009/12/11 13:40:44 roberto Exp roberto $ 2** $Id: lua.h,v 1.254 2009/12/17 16:20:01 roberto Exp roberto $
3** Lua - A Scripting Language 3** Lua - A Scripting Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -95,6 +95,14 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
95#define LUA_RIDX_LAST LUA_RIDX_CPCALL 95#define LUA_RIDX_LAST LUA_RIDX_CPCALL
96 96
97 97
98/* type of numbers in Lua */
99typedef LUA_NUMBER lua_Number;
100
101
102/* type for integer functions */
103typedef LUA_INTEGER lua_Integer;
104
105
98 106
99/* 107/*
100** generic extra include file 108** generic extra include file
@@ -104,14 +112,6 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
104#endif 112#endif
105 113
106 114
107/* type of numbers in Lua */
108typedef LUA_NUMBER lua_Number;
109
110
111/* type for integer functions */
112typedef LUA_INTEGER lua_Integer;
113
114
115 115
116/* 116/*
117** state manipulation 117** state manipulation
@@ -123,7 +123,7 @@ LUA_API lua_State *(lua_newthread) (lua_State *L);
123LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); 123LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
124 124
125 125
126LUA_API const lua_Number *lua_version (lua_State *L); 126LUA_API const lua_Number *(lua_version) (lua_State *L);
127 127
128 128
129/* 129/*