Index: src/gpu/GrReducedClip.h |
diff --git a/src/gpu/GrReducedClip.h b/src/gpu/GrReducedClip.h |
index 0b79f2c7f56f266c3b9683dc70e678e5ba819b1b..cbb03465fd00fa19079324d7177929ddb93cd697 100644 |
--- a/src/gpu/GrReducedClip.h |
+++ b/src/gpu/GrReducedClip.h |
@@ -30,13 +30,14 @@ enum InitialState { |
* required to process any of the elements in the result. |
* |
* This may become a member function of SkClipStack when its interface is determined to be stable. |
+ * Marked SK_API so that SkLua can call this in a shared library build. |
*/ |
-void ReduceClipStack(const SkClipStack& stack, |
- const SkIRect& queryBounds, |
- ElementList* result, |
- int32_t* resultGenID, |
- InitialState* initialState, |
- SkIRect* tighterBounds = NULL, |
- bool* requiresAA = NULL); |
+SK_API void ReduceClipStack(const SkClipStack& stack, |
+ const SkIRect& queryBounds, |
+ ElementList* result, |
+ int32_t* resultGenID, |
+ InitialState* initialState, |
+ SkIRect* tighterBounds = NULL, |
+ bool* requiresAA = NULL); |
} // namespace GrReducedClip |