Skip to content

Commit

Permalink
Merge pull request #2407 from alex/patch-2
Browse files Browse the repository at this point in the history
Make Py_tracefunc an unsafe func
  • Loading branch information
davidhewitt committed Jun 2, 2022
2 parents 2769963 + c2faef4 commit 1d50ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyo3-ffi/src/cpython/pystate.rs
Expand Up @@ -8,7 +8,7 @@ use std::os::raw::c_int;

// skipped _PyInterpreterState_GetMainModule

pub type Py_tracefunc = extern "C" fn(
pub type Py_tracefunc = unsafe extern "C" fn(
obj: *mut PyObject,
frame: *mut PyFrameObject,
what: c_int,
Expand Down

0 comments on commit 1d50ffd

Please sign in to comment.