ibireme / yyjson

The fastest JSON library in C
https://ibireme.github.io/yyjson/doc/doxygen/html/
MIT License
3.07k stars 267 forks source link

Parameter of get_enc_table_with_flag is json_read_flag, should be json_write_flag #167

Closed danielaparker closed 5 months ago

danielaparker commented 5 months ago

json_read_flag and json_write_flag are both typedef'ed to uint32_t, but for good sense, the parameter in get_enc_table_with_flag should be json_write_flag, not json_read_flag

ibireme commented 5 months ago

Thanks!