Skip to content
Snippets Groups Projects
Commit aa3e3301 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Remove traces of PyBlitzArray_API

parent ed5acf99
No related branches found
No related tags found
No related merge requests found
Subproject commit c8c5a15149af4fd3a33b53cf377402af660d5f9f
Subproject commit 29f577060a8b7b9bac6ef9655da374d0cef99e07
......@@ -290,19 +290,19 @@ typedef struct {
# if PY_VERSION_HEX >= 0x02070000
if (PyCapsule_CheckExact(c_api_object)) {
PyBlitzArray_API = (void **)PyCapsule_GetPointer(c_api_object,
PyXbobIo_API = (void **)PyCapsule_GetPointer(c_api_object,
PyCapsule_GetName(c_api_object));
}
# else
if (PyCObject_Check(c_api_object)) {
PyBlitzArray_API = (void **)PyCObject_AsVoidPtr(c_api_object);
XbobIo_API = (void **)PyCObject_AsVoidPtr(c_api_object);
}
# endif
Py_DECREF(c_api_object);
Py_DECREF(module);
if (!PyBlitzArray_API) {
if (!XbobIo_API) {
PyErr_Format(PyExc_ImportError,
# if PY_VERSION_HEX >= 0x02070000
"cannot find C/C++ API capsule at `%s.%s'",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment