diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2005-10-19 10:57:46 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2005-10-19 10:57:46 +0000 |
commit | 97f39d46478583613258d50acdc209e5c489a969 (patch) | |
tree | 1da846391b959f0a4ac37ccd5b15ebe6b81c0f0d /gst/goom/filters.c | |
parent | 6142c0c1472f79e25daa85906948a27e46dd5b86 (diff) |
gst/goom/: Make inline functions either 'static inline' or 'extern inline', otherwise the Forte compiler apparently w...
Original commit message from CVS:
* gst/goom/filters.c:
* gst/goom/graphic.h:
* gst/goom/lines.c:
Make inline functions either 'static inline' or 'extern inline',
otherwise the Forte compiler apparently won't inline them (#317300).
Diffstat (limited to 'gst/goom/filters.c')
-rw-r--r-- | gst/goom/filters.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/goom/filters.c b/gst/goom/filters.c index 9fadf2f6..076fedd9 100644 --- a/gst/goom/filters.c +++ b/gst/goom/filters.c @@ -75,7 +75,7 @@ static int *firedec = 0; /* retourne x>>s , en testant le signe de x */ -inline int +static inline int ShiftRight (int x, const unsigned char s) { if (x < 0) @@ -182,7 +182,7 @@ calculatePXandPY (int x, int y, int *px, int *py) /*#define _DEBUG */ -inline void +extern inline void setPixelRGB (Uint * buffer, Uint x, Uint y, Color c) { /* buffer[ y*WIDTH + x ] = (c.r<<16)|(c.v<<8)|c.b */ @@ -201,7 +201,7 @@ setPixelRGB (Uint * buffer, Uint x, Uint y, Color c) } -inline void +static inline void setPixelRGB_ (Uint * buffer, Uint x, Color c) { #ifdef _DEBUG @@ -220,7 +220,7 @@ setPixelRGB_ (Uint * buffer, Uint x, Color c) -inline void +extern inline void getPixelRGB (Uint * buffer, Uint x, Uint y, Color * c) { register unsigned char *tmp8; @@ -250,7 +250,7 @@ getPixelRGB (Uint * buffer, Uint x, Uint y, Color * c) } -inline void +static inline void getPixelRGB_ (Uint * buffer, Uint x, Color * c) { register unsigned char *tmp8; |