From 90209caa686464cad70dd9d60b53c3d967eb57da Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Sat, 21 Nov 2009 19:58:04 +0000 Subject: doh. make the new S16 and U16 checkers inline git-svn-id: http://skia.googlecode.com/svn/trunk@442 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkTypes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/core/SkTypes.h') 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; } -- cgit v1.2.3