diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-08-13 11:08:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2008-08-13 11:08:49 -0300 |
commit | d69aa510883b18be4f28a937f19b2d63192af45d (patch) | |
tree | 6dc22fd4c500c95c4c8fc902eec42d09cf4bd564 /lua.h | |
parent | afe849c9b45e00f2bd31606aad3d2bb7a38ef5d2 (diff) | |
download | lua-d69aa510883b18be4f28a937f19b2d63192af45d.tar.gz lua-d69aa510883b18be4f28a937f19b2d63192af45d.tar.bz2 lua-d69aa510883b18be4f28a937f19b2d63192af45d.zip |
added missing parentheses around function names
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.229 2008/07/11 17:50:31 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.230 2008/07/18 19:58:10 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension 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 |
@@ -242,7 +242,7 @@ LUA_API int (lua_next) (lua_State *L, int idx); | |||
242 | LUA_API void (lua_concat) (lua_State *L, int n); | 242 | LUA_API void (lua_concat) (lua_State *L, int n); |
243 | 243 | ||
244 | LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); | 244 | LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); |
245 | LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud); | 245 | LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); |
246 | 246 | ||
247 | 247 | ||
248 | 248 | ||
@@ -330,17 +330,17 @@ typedef struct lua_Debug lua_Debug; /* activation record */ | |||
330 | typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); | 330 | typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); |
331 | 331 | ||
332 | 332 | ||
333 | LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar); | 333 | LUA_API int (lua_getstack) (lua_State *L, int level, lua_Debug *ar); |
334 | LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); | 334 | LUA_API int (lua_getinfo) (lua_State *L, const char *what, lua_Debug *ar); |
335 | LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n); | 335 | LUA_API const char *(lua_getlocal) (lua_State *L, const lua_Debug *ar, int n); |
336 | LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n); | 336 | LUA_API const char *(lua_setlocal) (lua_State *L, const lua_Debug *ar, int n); |
337 | LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n); | 337 | LUA_API const char *(lua_getupvalue) (lua_State *L, int funcindex, int n); |
338 | LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n); | 338 | LUA_API const char *(lua_setupvalue) (lua_State *L, int funcindex, int n); |
339 | 339 | ||
340 | LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count); | 340 | LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count); |
341 | LUA_API lua_Hook lua_gethook (lua_State *L); | 341 | LUA_API lua_Hook (lua_gethook) (lua_State *L); |
342 | LUA_API int lua_gethookmask (lua_State *L); | 342 | LUA_API int (lua_gethookmask) (lua_State *L); |
343 | LUA_API int lua_gethookcount (lua_State *L); | 343 | LUA_API int (lua_gethookcount) (lua_State *L); |
344 | 344 | ||
345 | 345 | ||
346 | struct lua_Debug { | 346 | struct lua_Debug { |