fix fastindex namespace

This commit is contained in:
Steven Barth 2008-06-02 15:35:44 +00:00
parent f154da7e8c
commit f5c117f067

View file

@ -32,8 +32,7 @@
#include <lauxlib.h> #include <lauxlib.h>
#include "list.h" #include "list.h"
#define MODNAME "fastindex" #define MODNAME "luci.fastindex"
#define PATTERN "/*.lua"
#define DEFAULT_BUFLEN 1024 #define DEFAULT_BUFLEN 1024
//#define DEBUG 1 //#define DEBUG 1
@ -373,7 +372,7 @@ static const luaL_Reg fastindex[] = {
}; };
int int
luaopen_fastindex(lua_State *L) luaopen_luci_fastindex(lua_State *L)
{ {
luaL_register(L, MODNAME, fastindex); luaL_register(L, MODNAME, fastindex);
return 0; return 0;