'unpack' moved to table library (and therefore "renamed" to

'table.unpack'.
This commit is contained in:
Roberto Ierusalimschy
2009-12-28 14:30:31 -02:00
parent cc1cbd19a0
commit 0dc09cb42e
3 changed files with 33 additions and 21 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: luaconf.h,v 1.124 2009/12/17 13:08:51 roberto Exp roberto $
** $Id: luaconf.h,v 1.125 2009/12/22 16:47:00 roberto Exp roberto $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -205,6 +205,13 @@
** ===================================================================
*/
/*
@@ LUA_COMPAT_UNPACK controls the presence of global 'unpack'.
** CHANGE it (define it) if you have not replaced its uses with
** 'table.unpack'.
*/
/* #define LUA_COMPAT_UNPACK */
/*
@@ LUA_COMPAT_CPCALL controls the presence of function 'lua_cpcall'.
** CHANGE it (define it) if you need this function. (You can replace