diff options
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-11-21 19:58:04 +0000 |
---|---|---|
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2009-11-21 19:58:04 +0000 |
commit | 90209caa686464cad70dd9d60b53c3d967eb57da (patch) | |
tree | 0ebff2c9adb80e991b3f8e01e47fbb0df969cfb6 /include/core/SkTypes.h | |
parent | d4577757874d1dda1a3bffa3f2347c251859c27e (diff) |
doh. make the new S16 and U16 checkers inline
git-svn-id: http://skia.googlecode.com/svn/trunk@442 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkTypes.h')
-rw-r--r-- | include/core/SkTypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h index 8961aa065d..fa21adcb41 100644 --- a/include/core/SkTypes.h +++ b/include/core/SkTypes.h @@ -151,13 +151,13 @@ typedef uint8_t SkBool8; /** Returns true if the value can be represented with signed 16bits */ -static bool SkIsS16(long x) { +static inline bool SkIsS16(long x) { return (int16_t)x == x; } /** Returns true if the value can be represented with unsigned 16bits */ -static bool SkIsU16(long x) { +static inline bool SkIsU16(long x) { return (uint16_t)x == x; } |