mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 03:53:09 +00:00
dec id would be better
This commit is contained in:
@@ -65,7 +65,7 @@ int luaS_eqshrstr (TString *a, TString *b) {
|
||||
|
||||
void luaS_share (TString *ts) {
|
||||
makeshared(ts);
|
||||
ts->id = ATOM_INC(&STRID);
|
||||
ts->id = ATOM_DEC(&STRID);
|
||||
}
|
||||
|
||||
unsigned int luaS_hash (const char *str, size_t l, unsigned int seed) {
|
||||
|
||||
Reference in New Issue
Block a user