diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-05-28 11:27:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-05-28 11:27:07 -0300 |
commit | aca84ee1a04987f7cfe8c4e4126c953351d1216f (patch) | |
tree | 64e7a27e06c38bed05c601a56f50b0147121196b | |
parent | 5038e3c58c2b6a3169492ae6aa239d0d6fbdc02b (diff) | |
download | lua-aca84ee1a04987f7cfe8c4e4126c953351d1216f.tar.gz lua-aca84ee1a04987f7cfe8c4e4126c953351d1216f.tar.bz2 lua-aca84ee1a04987f7cfe8c4e4126c953351d1216f.zip |
correct definition for 'lua_cpcall' (tested)
-rw-r--r-- | luaconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: luaconf.h,v 1.137 2010/05/12 14:17:36 roberto Exp roberto $ | 2 | ** $Id: luaconf.h,v 1.138 2010/05/27 12:06:42 roberto Exp roberto $ |
3 | ** Configuration file for Lua | 3 | ** Configuration file for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -234,7 +234,7 @@ | |||
234 | #define lua_cpcall(L,f,u) \ | 234 | #define lua_cpcall(L,f,u) \ |
235 | (lua_pushcfunction(L, (f)), \ | 235 | (lua_pushcfunction(L, (f)), \ |
236 | lua_pushlightuserdata(L,(u)), \ | 236 | lua_pushlightuserdata(L,(u)), \ |
237 | lua_pcall(L,,1,0,0)) | 237 | lua_pcall(L,1,0,0)) |
238 | 238 | ||
239 | 239 | ||
240 | /* | 240 | /* |