summaryrefslogtreecommitdiff
path: root/cogl/cogl/cogl-buffer.h
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2019-11-21 12:15:22 +0100
committerJonas Ådahl <jadahl@gmail.com>2020-03-26 09:05:38 +0100
commit6885c37784480917a61ba5218cb196012399c686 (patch)
treedd9a638b64f58537a83c55546cf572279e942ed2 /cogl/cogl/cogl-buffer.h
parent238e41d493a521892b5449f8f77ad613a21c7b6e (diff)
downloadmutter-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-buffer.h')
-rw-r--r--cogl/cogl/cogl-buffer.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/cogl/cogl/cogl-buffer.h b/cogl/cogl/cogl-buffer.h
index 2964f638a..4dc1f5744 100644
--- a/cogl/cogl/cogl-buffer.h
+++ b/cogl/cogl/cogl-buffer.h
@@ -107,7 +107,7 @@ _cogl_buffer_error_domain (void);
* Since: 1.2
* Stability: unstable
*/
-gboolean
+COGL_EXPORT gboolean
cogl_is_buffer (void *object);
/**
@@ -121,7 +121,7 @@ cogl_is_buffer (void *object);
* Since: 1.2
* Stability: unstable
*/
-unsigned int
+COGL_EXPORT unsigned int
cogl_buffer_get_size (CoglBuffer *buffer);
/**
@@ -155,7 +155,7 @@ typedef enum /*< prefix=COGL_BUFFER_UPDATE_HINT >*/
* Since: 1.2
* Stability: unstable
*/
-void
+COGL_EXPORT void
cogl_buffer_set_update_hint (CoglBuffer *buffer,
CoglBufferUpdateHint hint);
@@ -170,7 +170,7 @@ cogl_buffer_set_update_hint (CoglBuffer *buffer,
* Since: 1.2
* Stability: unstable
*/
-CoglBufferUpdateHint
+COGL_EXPORT CoglBufferUpdateHint
cogl_buffer_get_update_hint (CoglBuffer *buffer);
/**
@@ -244,7 +244,7 @@ typedef enum /*< prefix=COGL_BUFFER_MAP_HINT >*/
* Since: 1.2
* Stability: unstable
*/
-void *
+COGL_EXPORT void *
cogl_buffer_map (CoglBuffer *buffer,
CoglBufferAccess access,
CoglBufferMapHint hints);
@@ -281,7 +281,7 @@ cogl_buffer_map (CoglBuffer *buffer,
* Since: 2.0
* Stability: unstable
*/
-void *
+COGL_EXPORT void *
cogl_buffer_map_range (CoglBuffer *buffer,
size_t offset,
size_t size,
@@ -298,7 +298,7 @@ cogl_buffer_map_range (CoglBuffer *buffer,
* Since: 1.2
* Stability: unstable
*/
-void
+COGL_EXPORT void
cogl_buffer_unmap (CoglBuffer *buffer);
/**
@@ -317,7 +317,7 @@ cogl_buffer_unmap (CoglBuffer *buffer);
* Since: 1.2
* Stability: unstable
*/
-gboolean
+COGL_EXPORT gboolean
cogl_buffer_set_data (CoglBuffer *buffer,
size_t offset,
const void *data,