From: Lisandro Dalcin Date: Wed, 9 Feb 2011 14:58:33 +0000 (-0300) Subject: fix declaration in testcase helper header X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c65006bb8cfe4b2ad20d78ebc6b7b76d937581de;p=cython.git fix declaration in testcase helper header --- diff --git a/tests/compile/nogil.h b/tests/compile/nogil.h index 2c66be05..f2e1c100 100644 --- a/tests/compile/nogil.h +++ b/tests/compile/nogil.h @@ -2,13 +2,13 @@ extern "C" { #endif extern DL_EXPORT(void) e1(void); -extern DL_EXPORT(void *) e2(void); +extern DL_EXPORT(int*) e2(void); #ifdef __cplusplus } #endif void e1(void) {return;} -void *e2(void) {return 0;} +int* e2(void) {return 0;}