
Sept. 1, 2010
9:31 p.m.
On Thu, Sep 2, 2010 at 7:19 AM, Antoine Pitrou <solipsis@pitrou.net> wrote:
Maybe I've missed your answer, but what would prevent the "inline" solution from working?
Only PEP 7 (since standard support for inline is a C99 feature) On the other hand, if gcc (including cygwin/mingw) and MSVC support it (even with non-standard spellings), then that objection probably doesn't matter.
(a macro with the result-as-a-pointer is quite ugly) Agreed.
Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia