[Greg Ewing] > Someone told me that Pyrex should be generating > __declspec(dllexport) for the module init func. > But someone else says this is only needed if > you're importing a dll as a library, 1. What else could one do with a DLL? That is, in your view is the "importing ... as a library" part not redundant? 2. Does Pyrex compile to DLLs (or PYDs) on Windows? I simply don't know. > and that it's not needed for Python extensions. If an extension is compiled into a DLL/PYD, it must tell the linker which symbols are to be exported. __declspec(dllexport) in the source is one way to do that. Other possibilities include creating a .def file, or specifying exported names on the linker's command line (like "/export:init_sre"). The best thing to do for Windows is ask that Windows users supply patches. Or you could upgrade to Windows yourself <wink>.
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