Skip to content

Commit 6ca3c78

Browse files
szn409elff1
authored andcommitted
added SK_API to SkScalarInterpFunc.
1 parent 44e0781 commit 6ca3c78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/core/SkScalar.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ static inline SkScalar SkScalarInterp(SkScalar A, SkScalar B, SkScalar t) {
154154
monotonically increasing). If key is the value of a repeated scalar in
155155
keys the first one will be used.
156156
*/
157-
SkScalar SkScalarInterpFunc(SkScalar searchKey, const SkScalar keys[],
158-
const SkScalar values[], int length);
157+
SK_API SkScalar SkScalarInterpFunc(SkScalar searchKey, const SkScalar keys[],
158+
const SkScalar values[], int length);
159159

160160
/*
161161
* Helper to compare an array of scalars.

0 commit comments

Comments
 (0)