details (comments)

This commit is contained in:
Roberto Ierusalimschy
2015-11-23 09:30:45 -02:00
parent c231a5e2b6
commit c5112f7b15
5 changed files with 11 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: loadlib.c,v 1.125 2015/01/13 13:18:04 roberto Exp roberto $
** $Id: loadlib.c,v 1.126 2015/02/16 13:14:33 roberto Exp roberto $
** Dynamic library loader for Lua
** See Copyright Notice in lua.h
**
@@ -732,7 +732,7 @@ static void createsearcherstable (lua_State *L) {
int i;
/* create 'searchers' table */
lua_createtable(L, sizeof(searchers)/sizeof(searchers[0]) - 1, 0);
/* fill it with pre-defined searchers */
/* fill it with predefined searchers */
for (i=0; searchers[i] != NULL; i++) {
lua_pushvalue(L, -2); /* set 'package' as upvalue for all searchers */
lua_pushcclosure(L, searchers[i], 1);