[Python-Dev] a few strdup() questions...

Thomas Heller theller at ctypes.org
Thu Jan 8 09:31:45 CET 2009

>> BTW: there is another implementation (called my_strdup) in 
>> Modules/_ctypes/_ctypes_test.c, why not use the one in Python/strdup.c there?
> I guess that's historical, from the times when ctypes was still a
> separate package.

my_strdup is an exported function in _ctypes_test.pyd (on Windows),
it is only used in the ctypes tests.


More information about the Python-Dev mailing list