From f14662fca63652dc112732b899e3d829bfecb1ae Mon Sep 17 00:00:00 2001
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Wed, 16 Jul 2014 10:56:14 -0300
Subject: detail (added placeholders for non-function fields to preallocate
 space for them)

---
 loadlib.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'loadlib.c')

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}
 };
 
-- 
cgit v1.2.3-55-g6feb