summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobled <nobled@dreamwidth.org>2011-01-25 18:27:13 (GMT)
committernobled <nobled@dreamwidth.org>2011-01-25 18:29:49 (GMT)
commitb2438805a5dfd55499b87709fbd5eb39e9d3e640 (patch)
tree8bad045bf8f234f531e3778e6b577a37a8379ebb
parent5a6b0d41f9544720e23e787dce87785c8ff55f8e (diff)
export public symbols
-rw-r--r--clayland.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/clayland.h b/clayland.h
index 1435ab2..c0e2406 100644
--- a/clayland.h
+++ b/clayland.h
@@ -17,8 +17,16 @@ G_BEGIN_DECLS
typedef struct _ClaylandCompositor ClaylandCompositor;
typedef struct _ClaylandCompositorClass ClaylandCompositorClass;
+#if defined(__GNUC__) && __GNUC__ >= 4
+#define CLAYLAND_EXPORT __attribute__((__visibility__("default")))
+#else
+#define CLAYLAND_EXPORT
+#endif
+
+CLAYLAND_EXPORT
GType clayland_compositor_get_type(void);
+CLAYLAND_EXPORT
ClaylandCompositor *clayland_compositor_create(ClutterContainer *container);
G_END_DECLS