Skip to content

Commit

Permalink
优化json初始化
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyoo0812 committed Feb 4, 2024
1 parent 0b5d78a commit affb62f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions extend/ljson/src/ljson.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ namespace ljson {
return 1;
}

void init_alc() {
yyjson_alc_pool_init(&m_alc, m_buf, sizeof(m_buf));
}

protected:
bool is_array(lua_State* L, int index, bool emy_as_arr) {
size_t raw_len = lua_rawlen(L, index);
Expand Down

0 comments on commit affb62f

Please sign in to comment.