1 Patch taken from the Lua list. Original author appears to be Mike Pall.
2 http://lua-users.org/lists/lua-l/2008-02/msg00043.html
4 --- slnunico.c 2006-07-26 19:20:04.000000000 +0200
5 +++ slnunico.c-new 2008-02-01 17:53:30.000000000 +0100
7 /* register unicode itself so require("unicode") works */
8 luaL_register(L, SLN_UNICODENAME,
9 uniclib + (sizeof uniclib/sizeof uniclib[0] - 1)); /* empty func list */
12 lua_pushinteger(L, MODE_ASCII);
13 luaI_openlib(L, SLN_UNICODENAME ".ascii", uniclib, 1);
14 #ifdef SLNUNICODE_AS_STRING