mirror of
https://github.com/lua/lua
synced 2025-01-08 10:32:01 +03:00
correct definition for 'lua_cpcall' (tested)
This commit is contained in:
parent
5038e3c58c
commit
aca84ee1a0
@ -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))
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user