summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-08-13 11:08:49 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-08-13 11:08:49 -0300
commitd69aa510883b18be4f28a937f19b2d63192af45d (patch)
tree6dc22fd4c500c95c4c8fc902eec42d09cf4bd564 /lua.h
parentafe849c9b45e00f2bd31606aad3d2bb7a38ef5d2 (diff)
downloadlua-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.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lua.h b/lua.h
index 1603b005..aa3a6789 100644
--- a/lua.h
+++ b/lua.h
@@ -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);
242LUA_API void (lua_concat) (lua_State *L, int n); 242LUA_API void (lua_concat) (lua_State *L, int n);
243 243
244LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); 244LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
245LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud); 245LUA_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 */
330typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar); 330typedef void (*lua_Hook) (lua_State *L, lua_Debug *ar);
331 331
332 332
333LUA_API int lua_getstack (lua_State *L, int level, lua_Debug *ar); 333LUA_API int (lua_getstack) (lua_State *L, int level, lua_Debug *ar);
334LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar); 334LUA_API int (lua_getinfo) (lua_State *L, const char *what, lua_Debug *ar);
335LUA_API const char *lua_getlocal (lua_State *L, const lua_Debug *ar, int n); 335LUA_API const char *(lua_getlocal) (lua_State *L, const lua_Debug *ar, int n);
336LUA_API const char *lua_setlocal (lua_State *L, const lua_Debug *ar, int n); 336LUA_API const char *(lua_setlocal) (lua_State *L, const lua_Debug *ar, int n);
337LUA_API const char *lua_getupvalue (lua_State *L, int funcindex, int n); 337LUA_API const char *(lua_getupvalue) (lua_State *L, int funcindex, int n);
338LUA_API const char *lua_setupvalue (lua_State *L, int funcindex, int n); 338LUA_API const char *(lua_setupvalue) (lua_State *L, int funcindex, int n);
339 339
340LUA_API int lua_sethook (lua_State *L, lua_Hook func, int mask, int count); 340LUA_API int (lua_sethook) (lua_State *L, lua_Hook func, int mask, int count);
341LUA_API lua_Hook lua_gethook (lua_State *L); 341LUA_API lua_Hook (lua_gethook) (lua_State *L);
342LUA_API int lua_gethookmask (lua_State *L); 342LUA_API int (lua_gethookmask) (lua_State *L);
343LUA_API int lua_gethookcount (lua_State *L); 343LUA_API int (lua_gethookcount) (lua_State *L);
344 344
345 345
346struct lua_Debug { 346struct lua_Debug {