Am 04/18/2008 08:56 PM schrieb Robert Bradshaw:
On Apr 18, 2008, at 8:09 AM, Johannes Wienke wrote:
ctypedef char* constcharptr "const char*"

But that generates obviously wrong C code:

typedef char *const char*;

Putting this in a cdef extern block should work.

How exactly do you mean? I've tried every combination I can think of and
nothing works,

Johannes



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to