diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2019-11-21 12:15:22 +0100 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2020-03-26 09:05:38 +0100 |
commit | 6885c37784480917a61ba5218cb196012399c686 (patch) | |
tree | dd9a638b64f58537a83c55546cf572279e942ed2 /cogl/cogl/cogl-offscreen.h | |
parent | 238e41d493a521892b5449f8f77ad613a21c7b6e (diff) | |
download | mutter-6885c37784480917a61ba5218cb196012399c686.tar.gz |
cogl: Mark exported cogl symbols using COGL_EXPORT
Just like libmutter-clutter, and libmutter, mark exported symbols with
an COGL_EXPORT macro. This removes the .map and .map.in files previously
used, containing a list of semi private symbols. This symbol was out of
date, i.e. pointed to non-existing symbols, and was also replaced with
COGL_EXPORT macros.
unit_test_* symbols are exported by the help of the unit test defining
macro. test_* symbols are no longer supported as it proved unnecessary.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1059
Diffstat (limited to 'cogl/cogl/cogl-offscreen.h')
-rw-r--r-- | cogl/cogl/cogl-offscreen.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cogl/cogl/cogl-offscreen.h b/cogl/cogl/cogl-offscreen.h index ba372c24b..07289db54 100644 --- a/cogl/cogl/cogl-offscreen.h +++ b/cogl/cogl/cogl-offscreen.h @@ -59,6 +59,7 @@ typedef struct _CoglOffscreen CoglOffscreen; * * Returns: a #GType that can be used with the GLib type system. */ +COGL_EXPORT GType cogl_offscreen_get_gtype (void); /* Offscreen api */ @@ -95,7 +96,7 @@ GType cogl_offscreen_get_gtype (void); * Return value: (transfer full): a newly instantiated #CoglOffscreen * framebuffer. */ -CoglOffscreen * +COGL_EXPORT CoglOffscreen * cogl_offscreen_new_with_texture (CoglTexture *texture); /** @@ -119,7 +120,7 @@ cogl_offscreen_new_with_texture (CoglTexture *texture); * Deprecated: 1.16: Use cogl_offscreen_new_with_texture instead. */ COGL_DEPRECATED_FOR (cogl_offscreen_new_with_texture) -CoglOffscreen * +COGL_EXPORT CoglOffscreen * cogl_offscreen_new_to_texture (CoglTexture *texture); /** @@ -132,13 +133,13 @@ cogl_offscreen_new_to_texture (CoglTexture *texture); * Returns: %TRUE if @object is a #CoglOffscreen framebuffer, * %FALSE otherwise */ -gboolean +COGL_EXPORT gboolean cogl_is_offscreen (void *object); /** * cogl_offscreen_get_texture: (skip) */ -CoglTexture * +COGL_EXPORT CoglTexture * cogl_offscreen_get_texture (CoglOffscreen *offscreen); G_END_DECLS |