On Wed, 2012-05-23 at 13:41 +0300, Lauri Kasanen wrote:
> On Wed, 23 May 2012 11:17:51 +0200
> Davidlohr Bueso <[email protected]> wrote:
> > 
> > Or, instead of pragma use it as a function attribute, it seems we can
> > implement visibility that way as well.
> > http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html#Function-Attributes
> 
> Yes, I'm aware of that. But that's exactly what I was trying to avoid by 
> using the pragmas, because it's really ugly having that in _every_ function 
> in _every_ header.
> 
> 

No, see how I implemented the allocation size attributes, just define it
once and call it everywhere - if not available, the definition will
simply be empty.

> - Lauri
> 


_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to