diff --git a/cogl/cogl-buffer-private.h b/cogl/cogl-buffer-private.h index c601f797a..ed324f946 100644 --- a/cogl/cogl-buffer-private.h +++ b/cogl/cogl-buffer-private.h @@ -36,8 +36,6 @@ G_BEGIN_DECLS -#define COGL_BUFFER(buffer) ((CoglBuffer *)(buffer)) - typedef struct _CoglBufferVtable CoglBufferVtable; struct _CoglBufferVtable diff --git a/cogl/cogl-buffer.h b/cogl/cogl-buffer.h index f3b3dbce6..800702e89 100644 --- a/cogl/cogl-buffer.h +++ b/cogl/cogl-buffer.h @@ -74,6 +74,8 @@ G_BEGIN_DECLS #define cogl_buffer_unmap cogl_buffer_unmap_EXP #define cogl_buffer_set_data cogl_buffer_set_data_EXP +#define COGL_BUFFER(buffer) ((CoglBuffer *)(buffer)) + typedef struct _CoglBuffer CoglBuffer; /**