[Pyrex] Calling C varargs function with a NULL pointer
Sven Berkvens-Matthijsse
sven at pyrex.berkvens.net
Thu May 24 07:33:51 UTC 2007
> > It seems that Pyrex uses the constant "0" in generated C files
> > where a NULL pointer is meant.
>
> I thought I had fixed this recently. Does it still happen with the
> latest version? If so, send me an example .pyx file and I'll look
> into it.
I'm using Pyrex 0.9.5.1a, which seems to be the latest version. I've
attached a very small test file which demonstrates the problem.
Thank you for looking into this!
--
Sven
-------------- next part --------------
cdef extern from *:
void test(char *something, ...)
def check_test():
test("hello", "whatever", "blah", NULL)
More information about the Pyrex
mailing list