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

Avoid recursive import

parent 387a4a03
No related branches found
No related tags found
No related merge requests found
......@@ -264,8 +264,6 @@ typedef struct {
# if !defined(NO_IMPORT_ARRAY)
#include <xbob.blitz/capi.h>
/**
* Returns -1 on error, 0 on success.
*/
......@@ -318,13 +316,6 @@ typedef struct {
return -1;
}
/* Imports the xbob.blitz C-API */
if (import_xbob_blitz() < 0) {
PyErr_Print();
PyErr_SetString(PyExc_ImportError, "xbob.blitz failed to import");
return -1;
}
/* If you get to this point, all is good */
return 0;
......
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