# HG changeset patch # User Matthew Wild # Date 1227739533 0 # Node ID fb19a5c14d44538daffa81b89978f5aba28945b1 # Parent 3c89a073db537bc6b70e850f4a5c07164371c2e1 Fix for hashes.c and encodings.c to rename luaopen for util_* diff -r 3c89a073db53 -r fb19a5c14d44 util-src/encodings.c --- a/util-src/encodings.c Wed Nov 26 22:18:26 2008 +0000 +++ b/util-src/encodings.c Wed Nov 26 22:45:33 2008 +0000 @@ -199,7 +199,7 @@ { NULL, NULL } }; -LUALIB_API int luaopen_encodings(lua_State *L) +LUALIB_API int luaopen_util_encodings(lua_State *L) { luaL_register(L, "encodings", Reg); diff -r 3c89a073db53 -r fb19a5c14d44 util-src/hashes.c --- a/util-src/hashes.c Wed Nov 26 22:18:26 2008 +0000 +++ b/util-src/hashes.c Wed Nov 26 22:45:33 2008 +0000 @@ -48,7 +48,7 @@ { NULL, NULL } }; -LUALIB_API int luaopen_hashes(lua_State *L) +LUALIB_API int luaopen_util_hashes(lua_State *L) { luaL_register(L, "hashes", Reg); lua_pushliteral(L, "version"); /** version */