This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients serhiy.storchaka, steve.dower, vstinner
Date 2017-01-11.00:26:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484094368.77.0.335618759413.issue29234@psf.upfronthosting.co.za>
In-reply-to
Content
noinline_msvs.patch: implement _Py_NO_INLINE for Microsoft Visual Studio

#elif defined(_MSC_VER)
#  define _Py_NO_INLINE __declspec(noinline)

I didn't push this change because I don't have access to a Windows VM yet.

@Steve: Does noinline_msvs.patch look good to you?

I decided to make the macro private because I don't know if _Py_NO_INLINE can be combined with PyAPI_FUNC() which also uses __declspec(): __declspec(dllexport).

Is it possible to use __declspec() multiple times per function declaration?
History
Date User Action Args
2017-01-11 00:26:08vstinnersetrecipients: + vstinner, serhiy.storchaka, steve.dower
2017-01-11 00:26:08vstinnersetmessageid: <1484094368.77.0.335618759413.issue29234@psf.upfronthosting.co.za>
2017-01-11 00:26:08vstinnerlinkissue29234 messages
2017-01-11 00:26:08vstinnercreate