From 9f446b739a39a0c1547f710c568b11aabf2486d9 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Wed, 29 Jan 2014 17:51:46 +0100 Subject: [PATCH] Avoid recursive import --- xbob/io/include/xbob.io/api.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/xbob/io/include/xbob.io/api.h b/xbob/io/include/xbob.io/api.h index ecf4ffc..6a2a3e8 100644 --- a/xbob/io/include/xbob.io/api.h +++ b/xbob/io/include/xbob.io/api.h @@ -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; -- GitLab