[Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean? (original) (raw)
Kristján Valur Jónsson kristjan at ccpgames.com
Tue Apr 24 12:19:03 CEST 2012
- Previous message: [Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?
- Next message: [Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Aha, so that is the rationale. Because the export table on unix is so generous, we force ourselves to be generous on windows too? I did some unix programming back in the day. IRIX, actually (a Sys V derivative). I'm pretty sure we had to explicitly specify our .so exports. But I might be mistaken.
K
-----Original Message----- From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of "Martin v. Löwis" Sent: 24. apríl 2012 07:28 To: Mark Shannon Cc: Python Dev
Subject: Re: [Python-Dev] What do PyAPIFUNC & PyAPIDATA mean? Even though it's strictly needed on Windows, and strictly only for API that we do want to expose, we apply it to all API that is public on Unix (i.e. all Py* API), in order to avoid API being available on Unix but not on Windows.
- Previous message: [Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?
- Next message: [Python-Dev] What do PyAPI_FUNC & PyAPI_DATA mean?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]