mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
add global share string table
This commit is contained in:
17
skynet-src/luashrtbl.h
Normal file
17
skynet-src/luashrtbl.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef LUA_SHORT_STRING_TABLE_H
|
||||
#define LUA_SHORT_STRING_TABLE_H
|
||||
|
||||
#ifndef DISABLE_SHORT_STRING
|
||||
|
||||
#include "lstring.h"
|
||||
|
||||
#else
|
||||
|
||||
static inline int luaS_shrinfo(lua_State *L) { return 0; }
|
||||
static inline void luaS_initshr() {}
|
||||
static inline void luaS_exitshr() {}
|
||||
static inline void luaS_expandshr(int n);
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user