File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -615,8 +615,6 @@ add_parameters(PyObject *module)
615
615
static inline int
616
616
add_vars_to_module (PyObject * module )
617
617
{
618
- PyObject * obj ;
619
-
620
618
/* zstd_version, str */
621
619
if (PyModule_AddStringConstant (module , "zstd_version" ,
622
620
ZSTD_versionString ()) < 0 ) {
@@ -655,23 +653,6 @@ add_vars_to_module(PyObject *module)
655
653
return -1 ;
656
654
}
657
655
658
- /* _ZSTD_CONFIG */
659
- obj = Py_BuildValue ("isOOO" , 8 * (int )sizeof (Py_ssize_t ), "c" ,
660
- Py_False ,
661
- Py_True ,
662
- /* User mremap output buffer */
663
- #if defined(HAVE_MREMAP )
664
- Py_True
665
- #else
666
- Py_False
667
- #endif
668
- );
669
- if (PyModule_AddObjectRef (module , "_ZSTD_CONFIG" , obj ) < 0 ) {
670
- Py_XDECREF (obj );
671
- return -1 ;
672
- }
673
- Py_DECREF (obj );
674
-
675
656
return 0 ;
676
657
}
677
658
You can’t perform that action at this time.
0 commit comments