Browse Source

correct definition for 'lua_cpcall' (tested)

Roberto Ierusalimschy 15 years ago
parent
commit
aca84ee1a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      luaconf.h

+ 2 - 2
luaconf.h

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: luaconf.h,v 1.137 2010/05/12 14:17:36 roberto Exp roberto $
+** $Id: luaconf.h,v 1.138 2010/05/27 12:06:42 roberto Exp roberto $
 ** Configuration file for Lua
 ** Configuration file for Lua
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -234,7 +234,7 @@
 #define lua_cpcall(L,f,u)  \
 #define lua_cpcall(L,f,u)  \
 	(lua_pushcfunction(L, (f)), \
 	(lua_pushcfunction(L, (f)), \
 	 lua_pushlightuserdata(L,(u)), \
 	 lua_pushlightuserdata(L,(u)), \
-	 lua_pcall(L,,1,0,0))
+	 lua_pcall(L,1,0,0))
 
 
 
 
 /*
 /*