diff options
author | Derek Sollenberger <djsollen@google.com> | 2017-09-20 15:51:08 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-21 18:14:36 +0000 |
commit | 2fbf1bc8c96f749a4c098bcfc827053445c2e12d (patch) | |
tree | 0271e86a08bec62b58b71d661c86bc0af325488e /src/core/SkHalf.h | |
parent | f4b9bf7d9e688f1afedcf4a960a31582ddb56f4a (diff) |
Add SK_API to APIs used by the android framework.
This CL enables us to set the default visibility of the symbols
on Android to hidden. It is the intent that all of he SK_APIs
that have been added to /src directies should be removed as soon
as we can remove their callers within Android.
Bug: b/31971097
Change-Id: Ic787f94df0fb0c2b8d941aa7095a12b317c4b5de
Reviewed-on: https://skia-review.googlesource.com/49501
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
Diffstat (limited to 'src/core/SkHalf.h')
-rw-r--r-- | src/core/SkHalf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkHalf.h b/src/core/SkHalf.h index 926137b45c..a862990d4a 100644 --- a/src/core/SkHalf.h +++ b/src/core/SkHalf.h @@ -23,7 +23,7 @@ static constexpr uint16_t SK_Half1 = 0x3C00; // 1 // convert between half and single precision floating point float SkHalfToFloat(SkHalf h); -SkHalf SkFloatToHalf(float f); +SkHalf SK_API SkFloatToHalf(float f); // Convert between half and single precision floating point, // assuming inputs and outputs are both finite, and may |