buffer: make the COGL_BUFFER casting macro public

The CoglBuffer api is available as experimental 2.0 api but we forgot to
exposed the COGL_BUFFER casting macro.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
Robert Bragg 2011-08-03 15:50:14 +01:00
parent dd6935f129
commit f3a4d21187
2 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,6 @@
G_BEGIN_DECLS
#define COGL_BUFFER(buffer) ((CoglBuffer *)(buffer))
typedef struct _CoglBufferVtable CoglBufferVtable;
struct _CoglBufferVtable

View File

@ -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;
/**