Commit 30e27f19 authored by Zackery Spytz's avatar Zackery Spytz Committed by Stefan Behnel

Fix the signature of _Py_PyAtExit() (GH-3382)

Closes #3331.
parent cf03fa62
...@@ -27,9 +27,9 @@ cdef extern from "Python.h": ...@@ -27,9 +27,9 @@ cdef extern from "Python.h":
void Py_EndInterpreter(PyThreadState *) void Py_EndInterpreter(PyThreadState *)
# Py_PyAtExit is for the atexit module, Py_AtExit is for low-level # _Py_PyAtExit is for the atexit module, Py_AtExit is for low-level
# exit functions. # exit functions.
void _Py_PyAtExit(void (*func)()) void _Py_PyAtExit(void (*func)(object), object)
int Py_AtExit(void (*func)()) int Py_AtExit(void (*func)())
void Py_Exit(int) void Py_Exit(int)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment