[C++-sig] [Py++] Don't transform char* to c_char_p
Nikolaus Rath
Nikolaus at rath.org
Wed Dec 23 20:21:19 CET 2009
Hi Roman,
I know you are busy, so I have already monkeypatched pyplusplus locally
for my purposes. But maybe you are interested to add this feature add
some point in the future:
It would be great if there was a way to tell Py++ that it should not
represent the C char * type to the ctypes c_char_p, because the later is
supposed to be used only for \0 terminated strings. A general char*
should be translated to POINTER(c_char).
Best,
-Nikolaus
--
»Time flies like an arrow, fruit flies like a Banana.«
PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6 02CF A9AD B7F8 AE4E 425C
More information about the Cplusplus-sig
mailing list