Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

edgify / rook   python

Repository URL to install this package:

Version: 0.1.176 

/ native_extensions / cpython_importhook.h

// Ensure that Python.h is included before any other header.
#include "common.h"

#ifndef PYPY_VERSION
namespace native_extensions {

PyObject* CallImportHookRemovingFrames(PyObject* self, PyObject* args, PyObject* kwargs);

PyObject* SetImportHook(PyObject* self, PyObject* hook);

PyObject* SetRemoveImportHookFrames(PyObject* self, PyObject* enabled);

}  // namespace native_extensions
#endif