Software /
code /
prosody
Changeset
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 |
parents | 431:3c89a073db53 |
children | 433:afbf29498123 |
files | util-src/encodings.c util-src/hashes.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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);
--- 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 */