Re: inline newNode() - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: inline newNode()
Date
Msg-id Pine.LNX.4.44.0210082101500.928-100000@localhost.localdomain
Whole thread Raw
In response to Re: inline newNode()  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway writes:

> Well, one alternative might be to provide 2 definitions of the
> function -- one an extern inline in the header file, and one using the
> current method (in a separate file, non-inline). Then wrap the header
> file in an #ifdef __GNUC__ block, and the non-inlined version in
> #ifndef __GNUC__.

External inline functions aren't even portable across different versions
of GCC.  It's best not to go there at all.

--
Peter Eisentraut   peter_e@gmx.net


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: inline newNode()
Next
From: Neil Conway
Date:
Subject: Re: inline newNode()