| 278 | }; |
| 279 | |
| 280 | typedef struct _PyEncoderObject { |
| 281 | PyObject_HEAD |
| 282 | PyObject *module_ref; |
| 283 | PyObject *markers; |
| 284 | PyObject *defaultfn; |
| 285 | PyObject *encoder; |
| 286 | PyObject *indent; |
| 287 | PyObject *key_separator; |
| 288 | PyObject *item_separator; |
| 289 | PyObject *sort_keys; |
| 290 | PyObject *key_memo; |
| 291 | PyObject *encoding; |
| 292 | PyObject *Decimal; |
| 293 | PyObject *skipkeys_bool; |
| 294 | int skipkeys; |
| 295 | int fast_encode; |
| 296 | /* 0, JSON_ALLOW_NAN, JSON_IGNORE_NAN */ |
| 297 | int allow_or_ignore_nan; |
| 298 | int use_decimal; |
| 299 | int namedtuple_as_object; |
| 300 | int tuple_as_array; |
| 301 | int iterable_as_array; |
| 302 | PyObject *max_long_size; |
| 303 | PyObject *min_long_size; |
| 304 | PyObject *item_sort_key; |
| 305 | PyObject *item_sort_kw; |
| 306 | int for_json; |
| 307 | } PyEncoderObject; |
| 308 | |
| 309 | /* X-macro listing every PyObject* field in PyEncoderObject that must |
| 310 | * be visited by tp_traverse and released by tp_clear. See the comment |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…