summaryrefslogtreecommitdiff
path: root/pixman
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2019-07-24 14:48:03 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2019-11-19 05:49:35 +0800
commit9d8dd17ada6ab7933d8f108a1e8605d2646c1791 (patch)
treed19ea450088af7ac8703f0e496e54c2fe62ebe5f /pixman
parent21d8ded56640f4005c82f3cfef4eb9cbede6911e (diff)
downloadpixman-9d8dd17ada6ab7933d8f108a1e8605d2646c1791.tar.gz
pixman-[compiler|private].h: Export symbols for tests
Define the existing PIXMAN_EXPORT to be PIXMAN_API, which can overriden to be __declspec(dllexport) during the build of the pixman DLL on MSVC builds, which will be in the next patch. Also, export more private symbols as they are needed for the test programs.
Diffstat (limited to 'pixman')
-rw-r--r--pixman/pixman-compiler.h2
-rw-r--r--pixman/pixman-private.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/pixman/pixman-compiler.h b/pixman/pixman-compiler.h
index 2489adc..dd0da7c 100644
--- a/pixman/pixman-compiler.h
+++ b/pixman/pixman-compiler.h
@@ -95,6 +95,8 @@
/* Sun Studio 8 visibility */
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
# define PIXMAN_EXPORT __global
+#elif defined (_MSC_VER)
+# define PIXMAN_EXPORT PIXMAN_API
#else
# define PIXMAN_EXPORT
#endif
diff --git a/pixman/pixman-private.h b/pixman/pixman-private.h
index 41f430d..d836cc5 100644
--- a/pixman/pixman-private.h
+++ b/pixman/pixman-private.h
@@ -1106,16 +1106,19 @@ _pixman_log_error (const char *function, const char *message);
typedef struct { pixman_fixed_48_16_t v[3]; } pixman_vector_48_16_t;
+PIXMAN_EXPORT
pixman_bool_t
pixman_transform_point_31_16 (const pixman_transform_t *t,
const pixman_vector_48_16_t *v,
pixman_vector_48_16_t *result);
+PIXMAN_EXPORT
void
pixman_transform_point_31_16_3d (const pixman_transform_t *t,
const pixman_vector_48_16_t *v,
pixman_vector_48_16_t *result);
+PIXMAN_EXPORT
void
pixman_transform_point_31_16_affine (const pixman_transform_t *t,
const pixman_vector_48_16_t *v,