RE: [AD] object_message

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Title: RE: [AD] object_message

> That's ok for me. Moreover it seems that Borland C++ refuses
> to inline it
> because it contains C keywords: here's the warning that would
> have been
> issued if I hadn't disable it:
>     "Functions containing reserved words are not expanded inline"

Odd, I'd certainly allow something like:

inline void RefCounted::DecRef()
{
  if (!--refs) delete this;
}

though it contains an if.

I'll send a patch to move this out of line.

--
Vincent Penquerc'h



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/