greg wrote: > Someone told me that Pyrex should be generating > __declspec(dllexport) for the module init func. almost; for portability, it's better to use the DL_EXPORT provided by Python.h: DL_EXPORT(void) init_module(void) { ... } > But someone else says this is only needed if > you're importing a dll as a library, and that > it's not needed for Python extensions. that someone is confused; the dllexport declaration makes sure that the init function is exported from the DLL. if not, Python's PYD loader won't find the init function. </F>
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