equal
deleted
inserted
replaced
1809 0, /* tp_alloc */ |
1809 0, /* tp_alloc */ |
1810 PyType_GenericNew, /* tp_new */ |
1810 PyType_GenericNew, /* tp_new */ |
1811 }; |
1811 }; |
1812 |
1812 |
1813 void decompressor_module_init(PyObject* mod) { |
1813 void decompressor_module_init(PyObject* mod) { |
1814 Py_TYPE(&ZstdDecompressorType) = &PyType_Type; |
1814 Py_SET_TYPE(&ZstdDecompressorType, &PyType_Type); |
1815 if (PyType_Ready(&ZstdDecompressorType) < 0) { |
1815 if (PyType_Ready(&ZstdDecompressorType) < 0) { |
1816 return; |
1816 return; |
1817 } |
1817 } |
1818 |
1818 |
1819 Py_INCREF((PyObject*)&ZstdDecompressorType); |
1819 Py_INCREF((PyObject*)&ZstdDecompressorType); |