[ruby/json] Use smaller types for JSON_Parser boolean fields
https://github.com/ruby/json/commit/7f079b25be
This commit is contained in:
parent
b1d417dc7b
commit
a3c21756e9
@ -15,17 +15,17 @@ typedef struct JSON_ParserStruct {
|
|||||||
long len;
|
long len;
|
||||||
char *memo;
|
char *memo;
|
||||||
VALUE create_id;
|
VALUE create_id;
|
||||||
int max_nesting;
|
|
||||||
int allow_nan;
|
|
||||||
int parsing_name;
|
|
||||||
int symbolize_names;
|
|
||||||
int freeze;
|
|
||||||
VALUE object_class;
|
VALUE object_class;
|
||||||
VALUE array_class;
|
VALUE array_class;
|
||||||
VALUE decimal_class;
|
VALUE decimal_class;
|
||||||
int create_additions;
|
|
||||||
VALUE match_string;
|
VALUE match_string;
|
||||||
FBuffer *fbuffer;
|
FBuffer *fbuffer;
|
||||||
|
int max_nesting;
|
||||||
|
char allow_nan;
|
||||||
|
char parsing_name;
|
||||||
|
char symbolize_names;
|
||||||
|
char freeze;
|
||||||
|
char create_additions;
|
||||||
} JSON_Parser;
|
} JSON_Parser;
|
||||||
|
|
||||||
#define GET_PARSER \
|
#define GET_PARSER \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user