Merge pull request #2407 from alex/patch-2

Make Py_tracefunc an unsafe func
This commit is contained in:
David Hewitt 2022-06-02 08:55:07 +01:00 committed by GitHub
commit 1d50ffd500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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,