diff --git a/lmathlib.c b/lmathlib.c index bdbb0aa1..61800799 100644 --- a/lmathlib.c +++ b/lmathlib.c @@ -1,5 +1,5 @@ /* -** $Id: lmathlib.c,v 1.104 2014/06/26 18:38:28 roberto Exp roberto $ +** $Id: lmathlib.c,v 1.105 2014/06/30 19:48:08 roberto Exp roberto $ ** Standard mathematical library ** See Copyright Notice in lua.h */ @@ -363,6 +363,11 @@ static const luaL_Reg mathlib[] = { {"ldexp", math_ldexp}, {"log10", math_log10}, #endif + /* placeholders */ + {"pi", NULL}, + {"huge", NULL}, + {"maxinteger", NULL}, + {"mininteger", NULL}, {NULL, NULL} }; diff --git a/loadlib.c b/loadlib.c index 3695a061..08190cb5 100644 --- a/loadlib.c +++ b/loadlib.c @@ -1,5 +1,5 @@ /* -** $Id: loadlib.c,v 1.112 2013/10/07 14:20:31 roberto Exp roberto $ +** $Id: loadlib.c,v 1.113 2014/03/12 20:57:40 roberto Exp roberto $ ** Dynamic library loader for Lua ** See Copyright Notice in lua.h ** @@ -655,6 +655,12 @@ static const luaL_Reg pk_funcs[] = { #if defined(LUA_COMPAT_MODULE) {"seeall", ll_seeall}, #endif + /* placeholders */ + {"preload", NULL}, + {"cpath", NULL}, + {"path", NULL}, + {"searchers", NULL}, + {"loaded", NULL}, {NULL, NULL} }; diff --git a/lutf8lib.c b/lutf8lib.c index eca23ab7..e9557d61 100644 --- a/lutf8lib.c +++ b/lutf8lib.c @@ -1,5 +1,5 @@ /* -** $Id: lutf8lib.c,v 1.8 2014/04/11 18:19:07 roberto Exp roberto $ +** $Id: lutf8lib.c,v 1.9 2014/05/14 18:33:37 roberto Exp roberto $ ** Standard library for UTF-8 manipulation ** See Copyright Notice in lua.h */ @@ -238,6 +238,8 @@ static struct luaL_Reg funcs[] = { {"char", utfchar}, {"len", utflen}, {"codes", iter_codes}, + /* placeholders */ + {"charpatt", NULL}, {NULL, NULL} };