[nanomsg] Re: inline functions vs. macros

  • From: Martin Sustrik <sustrik@xxxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Tue, 20 Aug 2013 20:25:52 +0200

Hi Chip,

Is it a decision or just accident that nanomsg uses macros rather than
inline functions for its function-like macros?  Would a conversion to
inline functions be welcome, unwelcome, or wait-and-see?

What macros do you have in mind exactly? If you are speaking of different assert macros, they have to be macros to make __FILE__ and __LINE__ work appropriately.

Martin

Other related posts: