aboutsummaryrefslogtreecommitdiff
path: root/util/region.c
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2018-02-19 14:26:40 +1300
committerScott Anderson <ascent12@hotmail.com>2018-02-19 14:26:40 +1300
commit86269052eb7be715eba274dffc30c77c11b8309c (patch)
tree8291d0ee15c75499ad884f629fd630c54f46b8ce /util/region.c
parentf27c0b44b882f7a837906e5b3376ad035cb51445 (diff)
Explicitly export EFL symbols
Diffstat (limited to 'util/region.c')
-rw-r--r--util/region.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/region.c b/util/region.c
index 88e38fd2..2639ac04 100644
--- a/util/region.c
+++ b/util/region.c
@@ -1,7 +1,9 @@
#include <math.h>
#include <stdlib.h>
#include <wlr/util/region.h>
+#include "util/defs.h"
+WLR_API
void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src,
float scale) {
if (scale == 1) {
@@ -29,6 +31,7 @@ void wlr_region_scale(pixman_region32_t *dst, pixman_region32_t *src,
free(dst_rects);
}
+WLR_API
void wlr_region_transform(pixman_region32_t *dst, pixman_region32_t *src,
enum wl_output_transform transform, int width, int height) {
if (transform == WL_OUTPUT_TRANSFORM_NORMAL) {
@@ -102,6 +105,7 @@ void wlr_region_transform(pixman_region32_t *dst, pixman_region32_t *src,
free(dst_rects);
}
+WLR_API
void wlr_region_expand(pixman_region32_t *dst, pixman_region32_t *src,
int distance) {
if (distance == 0) {