diff options
author | halcanary <halcanary@google.com> | 2015-09-01 10:01:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-01 10:01:38 -0700 |
commit | 219f18f30df465beeee8114febe52fa50454a804 (patch) | |
tree | 5703b19e7b099452742697c6bb0c7fe7d49b2ab5 /tests/CTest.cpp | |
parent | 73fa61670d95c52250a660a2cec618ab77716934 (diff) |
C API: Add SK_API, also documentation of an example.
SK_API = __declspec(dllexport) / __attribute__((visibility("default")))
Also, add documentation in experimental/c-api-example/c.md
Review URL: https://codereview.chromium.org/1307183006
Diffstat (limited to 'tests/CTest.cpp')
-rw-r--r-- | tests/CTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/CTest.cpp b/tests/CTest.cpp index f6ff4f0551..1f301efa7e 100644 --- a/tests/CTest.cpp +++ b/tests/CTest.cpp @@ -5,14 +5,13 @@ * found in the LICENSE file. */ +#include "Test.h" + #include "sk_canvas.h" #include "sk_paint.h" #include "sk_surface.h" #include "sk_shader.h" -#include "Test.h" - - static void shader_test(skiatest::Reporter* reporter) { sk_imageinfo_t info = {64, 64, sk_colortype_get_default_8888(), PREMUL_SK_ALPHATYPE}; |