On Fri, Sep 3, 2010 at 12:44 PM, Greg Ewing <greg.ew...@canterbury.ac.nz> wrote:
> On 02/09/10 09:04, Nick Coghlan wrote:
>
>> I think it would be better if everything dealing with FILE* was a
>> macro rather than a function, yes.
>
> How would that help?

Macros (and, as Antoine pointed out, inline functions) will never
cross C runtime boundaries, even on Windows. They'll get compiled in
when the extension module is built and linked to a C runtime library
from there, so it won't matter if that differs from the one that is
linked to the Python binary.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to