diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-16 10:56:14 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-07-16 10:56:14 -0300 |
| commit | f14662fca63652dc112732b899e3d829bfecb1ae (patch) | |
| tree | be653b34e6ba57ed7a1b97aee010179f1005e015 /loadlib.c | |
| parent | a9af12bbe765dd2c60fa3d9d43013042fd3361a8 (diff) | |
| download | lua-f14662fca63652dc112732b899e3d829bfecb1ae.tar.gz lua-f14662fca63652dc112732b899e3d829bfecb1ae.tar.bz2 lua-f14662fca63652dc112732b899e3d829bfecb1ae.zip | |
detail (added placeholders for non-function fields to preallocate
space for them)
Diffstat (limited to 'loadlib.c')
| -rw-r--r-- | loadlib.c | 8 |
1 files changed, 7 insertions, 1 deletions
| @@ -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 | ||
