add prefix skynet to c module

This commit is contained in:
Cloud Wu
2017-06-01 11:56:16 +08:00
parent f1ed482001
commit f9f009a4c1
16 changed files with 37 additions and 69 deletions

View File

@@ -271,7 +271,7 @@ static int db_sethook (lua_State *L) {
}
LUAMOD_API int
luaopen_debugchannel(lua_State *L) {
luaopen_skynet_debugchannel(lua_State *L) {
luaL_Reg l[] = {
{ "create", lcreate }, // for write
{ "connect", lconnect }, // for read