mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
reload snlua service
This commit is contained in:
11
service-src/service_lua.h
Normal file
11
service-src/service_lua.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef SKYNET_SERVICE_LUA_H
|
||||
#define SKYNET_SERVICE_LUA_H
|
||||
|
||||
struct snlua {
|
||||
lua_State * L;
|
||||
const char * reload;
|
||||
struct skynet_context * ctx;
|
||||
int (*init)(struct snlua *l, struct skynet_context *ctx, const char * args);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user