diff options
-rw-r--r-- | lmathlib.c | 7 | ||||
-rw-r--r-- | loadlib.c | 8 | ||||
-rw-r--r-- | lutf8lib.c | 4 |
3 files changed, 16 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmathlib.c,v 1.104 2014/06/26 18:38:28 roberto Exp roberto $ | 2 | ** $Id: lmathlib.c,v 1.105 2014/06/30 19:48:08 roberto Exp roberto $ |
3 | ** Standard mathematical library | 3 | ** Standard mathematical library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -363,6 +363,11 @@ static const luaL_Reg mathlib[] = { | |||
363 | {"ldexp", math_ldexp}, | 363 | {"ldexp", math_ldexp}, |
364 | {"log10", math_log10}, | 364 | {"log10", math_log10}, |
365 | #endif | 365 | #endif |
366 | /* placeholders */ | ||
367 | {"pi", NULL}, | ||
368 | {"huge", NULL}, | ||
369 | {"maxinteger", NULL}, | ||
370 | {"mininteger", NULL}, | ||
366 | {NULL, NULL} | 371 | {NULL, NULL} |
367 | }; | 372 | }; |
368 | 373 | ||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: loadlib.c,v 1.112 2013/10/07 14:20:31 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.113 2014/03/12 20:57:40 roberto Exp roberto $ |
3 | ** Dynamic library loader for Lua | 3 | ** Dynamic library loader for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | ** | 5 | ** |
@@ -655,6 +655,12 @@ static const luaL_Reg pk_funcs[] = { | |||
655 | #if defined(LUA_COMPAT_MODULE) | 655 | #if defined(LUA_COMPAT_MODULE) |
656 | {"seeall", ll_seeall}, | 656 | {"seeall", ll_seeall}, |
657 | #endif | 657 | #endif |
658 | /* placeholders */ | ||
659 | {"preload", NULL}, | ||
660 | {"cpath", NULL}, | ||
661 | {"path", NULL}, | ||
662 | {"searchers", NULL}, | ||
663 | {"loaded", NULL}, | ||
658 | {NULL, NULL} | 664 | {NULL, NULL} |
659 | }; | 665 | }; |
660 | 666 | ||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lutf8lib.c,v 1.8 2014/04/11 18:19:07 roberto Exp roberto $ | 2 | ** $Id: lutf8lib.c,v 1.9 2014/05/14 18:33:37 roberto Exp roberto $ |
3 | ** Standard library for UTF-8 manipulation | 3 | ** Standard library for UTF-8 manipulation |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -238,6 +238,8 @@ static struct luaL_Reg funcs[] = { | |||
238 | {"char", utfchar}, | 238 | {"char", utfchar}, |
239 | {"len", utflen}, | 239 | {"len", utflen}, |
240 | {"codes", iter_codes}, | 240 | {"codes", iter_codes}, |
241 | /* placeholders */ | ||
242 | {"charpatt", NULL}, | ||
241 | {NULL, NULL} | 243 | {NULL, NULL} |
242 | }; | 244 | }; |
243 | 245 | ||