[maemo-developers] [maemo-developers] Re: [pygtk] Re: using __attribute__ ((visibility "hidden")))

From: Gustavo Sverzut Barbieri barbieri at gmail.com
Date: Mon Jul 17 22:46:07 EEST 2006
On 7/17/06, Rafael Espíndola <rafael.espindola at gmail.com> wrote:
> > This is gccism. it needs to be abstracted otherwise we won't compile on
> > other platforms.
> >
> > glib may have a macro for that, can you check that out?
> glib uses these attributes internally, but it I couldn't find macro
> that can be used in application code.

Glib just define G_HAVE_GNUC_VISIBILITY, however googleing shows some
code that can be used in central place to define it in a
multi-platform way. Note that I did use this macro before and the
results are not the expected... so maybe it's better to check it first
and maybe bugreport according.


-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri at gmail.com
   MSN: barbieri at gmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; 08122692 at sip.stanaphone.com
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net

More information about the maemo-developers mailing list