diff options
author | Mark Kriegsman <kriegsman@tr.org> | 2014-11-25 20:25:58 +0300 |
---|---|---|
committer | Mark Kriegsman <kriegsman@tr.org> | 2014-11-25 20:25:58 +0300 |
commit | 727022725a959162229badd58c8050ac92827a95 (patch) | |
tree | 53bf841f1553a5db967af4b64e260be5d09f2199 | |
parent | 832c1bcdecb41b00a8897f364a244aad96a5dc2f (diff) |
Add ((weak)) attribute to forward declaration of user-supplied XY function
-rw-r--r-- | colorutils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/colorutils.cpp b/colorutils.cpp index 4a4d53a4..bac21851 100644 --- a/colorutils.cpp +++ b/colorutils.cpp @@ -353,7 +353,7 @@ CHSV* blend( const CHSV* src1, const CHSV* src2, CHSV* dest, uint16_t count, fra // Forward declaration of the function "XY" which must be provided by // the application for use in two-dimensional filter functions. -uint16_t XY( uint8_t, uint8_t); +uint16_t XY( uint8_t, uint8_t) __attribute__ ((weak)); // blur1d: one-dimensional blur filter. Spreads light to 2 line neighbors. |