Re: [Mesa3d-dev] Inlining functions in DRI drivers

2006-02-21 Thread Keith Whitwell
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 ? Good question.

Re: [Mesa3d-dev] Inlining functions in DRI drivers

2006-02-21 Thread Brian Paul
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 ? Use the INLINE

Re: [Mesa3d-dev] Inlining functions in DRI drivers

2006-02-21 Thread Ian Romanick
-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

[Mesa3d-dev] Inlining functions in DRI drivers

2006-02-21 Thread Stephane Marchesin
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 ? Stephane ---