From 2fbf1bc8c96f749a4c098bcfc827053445c2e12d Mon Sep 17 00:00:00 2001 From: Derek Sollenberger Date: Wed, 20 Sep 2017 15:51:08 -0400 Subject: 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 Commit-Queue: Derek Sollenberger --- src/images/SkJPEGWriteUtility.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/images') diff --git a/src/images/SkJPEGWriteUtility.h b/src/images/SkJPEGWriteUtility.h index 3765e7e674..c153459349 100644 --- a/src/images/SkJPEGWriteUtility.h +++ b/src/images/SkJPEGWriteUtility.h @@ -19,13 +19,13 @@ extern "C" { #include -void skjpeg_error_exit(j_common_ptr cinfo); +void SK_API skjpeg_error_exit(j_common_ptr cinfo); ///////////////////////////////////////////////////////////////////////////// /* Our destination struct for directing decompressed pixels to our stream * object. */ -struct skjpeg_destination_mgr : jpeg_destination_mgr { +struct SK_API skjpeg_destination_mgr : jpeg_destination_mgr { skjpeg_destination_mgr(SkWStream* stream); SkWStream* fStream; -- cgit v1.2.3