Permalink
Browse files

Set Error Handler to CPLQuietErrorHandler

Silencing everything that goes wrong is probably not a good long term
solution. At some point a custom error handler should be created.
  • Loading branch information...
1 parent 26036c7 commit 11a3d1bb348b3d4784628d4d047bd4d1ceafe6c0 Michael Weisman committed Aug 4, 2011
Showing with 75 additions and 57 deletions.
  1. +2 −1 src/mill/collection.c
  2. +3 −0 src/mill/ograpi.pxd
  3. +1 −1 src/mill/ogrinit.c
  4. +64 −54 src/mill/workspace.c
  5. +5 −1 src/mill/workspace.pyx
@@ -1,4 +1,4 @@
-/* Generated by Cython 0.14.1 on Thu Aug 4 10:44:36 2011 */
+/* Generated by Cython 0.14.1 on Thu Aug 4 11:15:14 2011 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
@@ -221,6 +221,7 @@
#include <math.h>
#define __PYX_HAVE_API__mill__collection
#include "ogr_api.h"
+#include "cpl_error.h"
#ifdef PYREX_WITHOUT_ASSERTIONS
#define CYTHON_WITHOUT_ASSERTIONS
View
@@ -35,3 +35,6 @@ cdef extern from "ogr_api.h":
void * OGROpenShared (char *path, int mode, void *x)
int OGRReleaseDataSource (void *datasource)
+cdef extern from "cpl_error.h":
+ void CPLSetErrorHandler (void *handler)
+ void * CPLQuietErrorHandler
View
@@ -1,4 +1,4 @@
-/* Generated by Cython 0.14.1 on Thu Aug 4 10:44:36 2011 */
+/* Generated by Cython 0.14.1 on Thu Aug 4 11:15:14 2011 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
Oops, something went wrong. Retry.

0 comments on commit 11a3d1b

Please sign in to comment.