Stefan Behnel, 29.06.2012 13:07: > Dieter Maurer, 29.06.2012 12:18: >> I need "const unsigned char*" and "const xmlChar *" >> (where "xmlChar" is defined as "unsigned char"). > > Ah, right, libxml2 - an excellent example. lxml is still suffering from the > decision of its initial author to ignore C compiler warnings ("for now") > and use plain char* instead. Lesson learned: DON'T DO THAT!
I added a doc section about using "const" with "char*". https://sage.math.washington.edu:8091/hudson/job/cython-docs/doclinks/1/src/tutorial/strings.html#dealing-with-const Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel