Here's my setup: OSX 10.6.6 Chicken 4.6.0 Python 2.7.1 Cython 0.14
** The Chicken part: What type is C_word? The only thing I see is this in chicken.h #ifdef C_SIXTY_FOUR # define C_word long # define C_u32 uint32_t # define C_s32 int32_t #else # define C_word int # define C_u32 unsigned int # define C_s32 int #endif but I get the following warning: warning: passing argument 2 of ‘CHICKEN_eval_string’ from incompatible pointer type ** The Cython part: I'm trying to use this with Cython, so I have (in my *.pxd): ctypedef long C_word (Note: I tried ctypedef int C_word also.) cdef extern from "chicken.h": int CHICKEN_eval_string(char *, C_word *) cdef inline C_word C_chick_eval_s (char *IN_STR): cdef C_word OUT_RESULT status = CHICKEN_eval_string(IN_STR, &OUT_RESULT) if (status == 0): print "Chicken evaluation failed" elif (str(OUT_RESULT) == '#<unspecified>'): pass else: print OUT_RESULT return OUT_RESULT Thanks! -Dave _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users