CoglObject: Adds cogl_object_{get,set}_user_data

This provides a mechanism for associating private data with any
CoglObject. We expect Clutter will use this to associate weak materials
with normal materials.
This commit is contained in:
Robert Bragg
2010-05-27 22:24:56 +01:00
parent d131602a6d
commit e7c800dacc
8 changed files with 552 additions and 213 deletions

View File

@ -1,6 +1,12 @@
<SECTION>
<FILE>cogl</FILE>
<TITLE>General API</TITLE>
CoglObject
cogl_object_ref
cogl_object_unref
CoglUserDataKey
cogl_object_get_user_data
cogl_object_set_user_data
COGL_INVALID_HANDLE
CoglHandle
cogl_handle_ref