'cpcall' renamed to 'ccall' as it does not do a protected call

This commit is contained in:
Roberto Ierusalimschy
2010-03-19 18:04:17 -03:00
parent 62840c5fad
commit caf74dd731
3 changed files with 10 additions and 10 deletions

4
lua.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lua.h,v 1.261 2010/01/11 17:15:11 roberto Exp roberto $
** $Id: lua.h,v 1.262 2010/03/13 03:57:46 roberto Exp roberto $
** Lua - A Scripting Language
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
** See Copyright Notice at the end of this file
@@ -90,7 +90,7 @@ typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize);
/* predefined values in the registry */
#define LUA_RIDX_MAINTHREAD 1
#define LUA_RIDX_CPCALL 2
#define LUA_RIDX_CCALL 2
#define LUA_RIDX_GLOBALS 3
#define LUA_RIDX_LAST LUA_RIDX_GLOBALS