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
@@ -38,11 +38,13 @@
|
||||
#include "cogl-types.h"
|
||||
#include "cogl-snippet-private.h"
|
||||
#include "cogl-util.h"
|
||||
#include "cogl-gtype-private.h"
|
||||
|
||||
static void
|
||||
_cogl_snippet_free (CoglSnippet *snippet);
|
||||
|
||||
COGL_OBJECT_DEFINE (Snippet, snippet);
|
||||
COGL_GTYPE_DEFINE_CLASS (Snippet, snippet);
|
||||
|
||||
CoglSnippet *
|
||||
cogl_snippet_new (CoglSnippetHook hook,
|
||||
|
Reference in New Issue
Block a user