Software /
code /
prosody
Diff
util-src/strbitop.c @ 12976:a187600ec7d6
util: Add compat for prosody module name change to C sources
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Mar 2023 18:03:07 +0100 |
parent | 12575:1f6f05a98fcd |
child | 13429:6cdc6923d65a |
line wrap: on
line diff
--- a/util-src/strbitop.c Fri Mar 17 16:23:16 2023 +0100 +++ b/util-src/strbitop.c Fri Mar 17 18:03:07 2023 +0100 @@ -74,7 +74,7 @@ return 1; } -LUA_API int luaopen_util_strbitop(lua_State *L) { +LUA_API int luaopen_prosody_util_strbitop(lua_State *L) { luaL_Reg exports[] = { { "sand", strop_and }, { "sor", strop_or }, @@ -86,3 +86,7 @@ luaL_setfuncs(L, exports, 0); return 1; } + +LUA_API int luaopen_util_strbitop(lua_State *L) { + return luaopen_prosody_util_strbitop(L); +}