mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 16:14:51 +00:00
Registers gtypes for all public objects and structs
This adds much more comprehensive support for gobject-introspection based bindings by registering all objects as fundamental types that inherit from CoglObject, and all structs as boxed types. Co-Author: Robert Bragg <robert@linux.intel.com> Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:

committed by
Neil Roberts

parent
bb10532f4b
commit
1b2dd815b4
@@ -39,10 +39,12 @@
|
||||
#include "cogl-attribute-buffer.h"
|
||||
#include "cogl-attribute-buffer-private.h"
|
||||
#include "cogl-context-private.h"
|
||||
#include "cogl-gtype-private.h"
|
||||
|
||||
static void _cogl_attribute_buffer_free (CoglAttributeBuffer *array);
|
||||
|
||||
COGL_BUFFER_DEFINE (AttributeBuffer, attribute_buffer);
|
||||
COGL_GTYPE_DEFINE_CLASS (AttributeBuffer, attribute_buffer);
|
||||
|
||||
CoglAttributeBuffer *
|
||||
cogl_attribute_buffer_new_with_size (CoglContext *context,
|
||||
|
Reference in New Issue
Block a user