-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stephane Marchesin wrote:
> Hi,
> 
> What's the correct way of declaring inline functions inside a dri driver
> ? I see 4 ways to do that in existing code : __inline, __inline__,
> inline and INLINE. So, which one is the right one ? Or maybe there is a
> slight difference between those ?

My guess, based on some grepping through the code, is that either inline
or INLINE should be used.  By now inline is pretty standard across all
compilers, but glheader.h has some magic to make INLINE "do the right
thing" across several platforms.

My vote is to pick one of inline or INLINE and write a little script to
convert all the occurances of __inline and __inline__ to whichever is
chosen.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD+zD+X1gOwKyEAw8RAvxDAJwMhZBlUMKp6EqG9ayeuij6pWGYqQCfdG8F
8fz+Gj71oJobBSUVKoJm6m0=
=MtHz
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to