[Mark Hammond] > FWIW, www.python.org/sf/566100 deprecates DL_IMPORT/DL_EXPORT as it is > broken! Once this patch is checked in, the new blessed way to > declare your function will be: > > PyMODINIT_FUNC init_module(void) > { > ... > } > > This macro will do the right thing in all situations and for all > platforms. > It even provides the 'extern "C"' if your extension is in a C++ module. > > The-patch-even-updates-the-doc ly, This patch is a Good Thing, and I demand that everyone show you more appreciation for it. for-my-next-act-i'll-command-the-tide-to-retreat-ly y'rs - tim
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