Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions cbits/python.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ PyObject *inline_py_function_wrapper(PyCFunction fun, int flags) {
return f;
}

// HACK: Simply copied from GHC sources. I hope it's stable enough
void freeHaskellFunctionPtr (void* ptr);

void inline_py_free_capsule(PyObject* py) {
PyMethodDef *meth = PyCapsule_GetPointer(py, NULL);
// HACK: We want to release wrappers created by wrapper. It
Expand Down
2 changes: 2 additions & 0 deletions include/inline-python.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <Rts.h>


// Standard status codesu
#define INLINE_PY_OK 0
Expand Down
Loading