@@ -124,44 +124,9 @@ extern "C" {
124124 ) -> * mut PyObject ;
125125}
126126
127- #[ cfg( all( Py_3_8 , not( any( PyPy , GraalPy ) ) ) ) ]
128- #[ inline( always) ]
129- pub unsafe fn _PyObject_FastCallTstate (
130- tstate : * mut PyThreadState ,
131- func : * mut PyObject ,
132- args : * const * mut PyObject ,
133- nargs : Py_ssize_t ,
134- ) -> * mut PyObject {
135- _PyObject_VectorcallTstate ( tstate, func, args, nargs as size_t , std:: ptr:: null_mut ( ) )
136- }
137-
138- #[ cfg( all( Py_3_8 , not( any( PyPy , GraalPy ) ) ) ) ]
139- #[ inline( always) ]
140- pub unsafe fn _PyObject_FastCall (
141- func : * mut PyObject ,
142- args : * const * mut PyObject ,
143- nargs : Py_ssize_t ,
144- ) -> * mut PyObject {
145- _PyObject_FastCallTstate ( PyThreadState_GET ( ) , func, args, nargs)
146- }
147-
148- #[ cfg( all( Py_3_8 , not( PyPy ) ) ) ]
149- #[ inline( always) ]
150- pub unsafe fn _PyObject_CallNoArg ( func : * mut PyObject ) -> * mut PyObject {
151- _PyObject_VectorcallTstate (
152- PyThreadState_GET ( ) ,
153- func,
154- std:: ptr:: null_mut ( ) ,
155- 0 ,
156- std:: ptr:: null_mut ( ) ,
157- )
158- }
159-
160- extern "C" {
161- #[ cfg( PyPy ) ]
162- #[ link_name = "_PyPyObject_CallNoArg" ]
163- pub fn _PyObject_CallNoArg ( func : * mut PyObject ) -> * mut PyObject ;
164- }
127+ // skipped private _PyObject_FastCallTstate
128+ // skipped private _PyObject_FastCall
129+ // skipped private _PyObject_CallNoArg
165130
166131#[ cfg( all( Py_3_8 , not( PyPy ) ) ) ]
167132#[ inline( always) ]
@@ -287,14 +252,7 @@ pub const PY_ITERSEARCH_COUNT: c_int = 1;
287252pub const PY_ITERSEARCH_INDEX : c_int = 2 ;
288253pub const PY_ITERSEARCH_CONTAINS : c_int = 3 ;
289254
290- extern "C" {
291- #[ cfg( not( any( PyPy , GraalPy ) ) ) ]
292- pub fn _PySequence_IterSearch (
293- seq : * mut PyObject ,
294- obj : * mut PyObject ,
295- operation : c_int ,
296- ) -> Py_ssize_t ;
297- }
255+ // skipped private _PySequence_IterSearch
298256
299257// skipped _PyObject_RealIsInstance
300258// skipped _PyObject_RealIsSubclass
0 commit comments