File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ pub struct PyMutex {
10
10
11
11
extern "C" {
12
12
pub fn PyMutex_Lock ( m : * mut PyMutex ) ;
13
- pub fn PyMutex_UnLock ( m : * mut PyMutex ) ;
13
+ pub fn PyMutex_Unlock ( m : * mut PyMutex ) ;
14
14
}
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ extern "C" {
67
67
#[ cfg_attr( PyPy , link_name = "PyPyDict_DelItemString" ) ]
68
68
pub fn PyDict_DelItemString ( dp : * mut PyObject , key : * const c_char ) -> c_int ;
69
69
#[ cfg( Py_3_13 ) ]
70
+ #[ cfg_attr( PyPy , link_name = "PyPyDict_GetItemRef" ) ]
70
71
pub fn PyDict_GetItemRef (
71
72
dp : * mut PyObject ,
72
73
key : * mut PyObject ,
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ extern "C" {
29
29
#[ cfg_attr( PyPy , link_name = "PyPyList_GetItem" ) ]
30
30
pub fn PyList_GetItem ( arg1 : * mut PyObject , arg2 : Py_ssize_t ) -> * mut PyObject ;
31
31
#[ cfg( Py_3_13 ) ]
32
+ #[ cfg_attr( PyPy , link_name = "PyPyList_GetItemRef" ) ]
32
33
pub fn PyList_GetItemRef ( arg1 : * mut PyObject , arg2 : Py_ssize_t ) -> * mut PyObject ;
33
34
#[ cfg_attr( PyPy , link_name = "PyPyList_SetItem" ) ]
34
35
pub fn PyList_SetItem ( arg1 : * mut PyObject , arg2 : Py_ssize_t , arg3 : * mut PyObject ) -> c_int ;
You can’t perform that action at this time.
0 commit comments