Comparison

util-src/encodings.c @ 432:fb19a5c14d44

Fix for hashes.c and encodings.c to rename luaopen for util_*
author Matthew Wild <mwild1@gmail.com>
date Wed, 26 Nov 2008 22:45:33 +0000
parent 417:d60e63379284
child 441:4089b62b510c
comparison
equal deleted inserted replaced
431:3c89a073db53 432:fb19a5c14d44
197 static const luaL_Reg Reg[] = 197 static const luaL_Reg Reg[] =
198 { 198 {
199 { NULL, NULL } 199 { NULL, NULL }
200 }; 200 };
201 201
202 LUALIB_API int luaopen_encodings(lua_State *L) 202 LUALIB_API int luaopen_util_encodings(lua_State *L)
203 { 203 {
204 luaL_register(L, "encodings", Reg); 204 luaL_register(L, "encodings", Reg);
205 205
206 lua_pushliteral(L, "base64"); 206 lua_pushliteral(L, "base64");
207 lua_newtable(L); 207 lua_newtable(L);