changeset 6414 | 6c8f6364bc48 |
parent 4302 | bbb0bf0a09f5 |
child 6415 | 0e94f89d0e62 |
--- a/util-src/encodings.c Thu Sep 11 00:55:51 2014 +0200 +++ b/util-src/encodings.c Tue Sep 16 21:56:18 2014 +0200 @@ -361,17 +361,12 @@ /***************** end *****************/ -static const luaL_Reg Reg[] = -{ - { NULL, NULL } -}; - LUALIB_API int luaopen_util_encodings(lua_State *L) { #ifdef USE_STRINGPREP_ICU init_icu(); #endif - luaL_register(L, "encodings", Reg); + lua_newtable(L); lua_pushliteral(L, "base64"); lua_newtable(L);