A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-July/026751.html below:

[Python-Dev] Is __declspec(dllexport) really needed on Windows?

[Python-Dev] Is __declspec(dllexport) really needed on Windows? [Python-Dev] Is __declspec(dllexport) really needed on Windows?Tim Peters tim.one@comcast.net
Thu, 18 Jul 2002 23:54:16 -0400
[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