Thomas Heller schrieb: > To test this functionality it is required to add some C++ source code to the > ctypes private test module _ctypes_test.pyd/_ctypes_test.so. > > Is it appropriate to add C++ source files to the Python repository, > or would that create too much trouble on some platforms? How about creating an additional test library ctypes_test_cpp.cpp? This way we can still run the ctypes tests on a platform without a C++ compiler. Of course you could add some preprocessor magic but that's just another way to ask for trouble. A second test library should make it easier. Christian
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4