Enumeration value should be on the same line
The glib-mkenums script is not clever enough to deal with FLAGS_VALUE = FLAGS_A | FLAGS_B And since this breaks the enumeration GType and the introspection data, we cannot really wait for it to be fixed. See: https://bugzilla.gnome.org/show_bug.cgi?id=629741 http://bugzilla.clutter-project.org/show_bug.cgi?id=2238
This commit is contained in:
parent
33a6440812
commit
71f62ca500
@ -154,8 +154,7 @@ cogl_buffer_get_update_hint (CoglBuffer *buffer);
|
||||
typedef enum { /*< prefix=COGL_BUFFER_ACCESS >*/
|
||||
COGL_BUFFER_ACCESS_READ = 1 << 0,
|
||||
COGL_BUFFER_ACCESS_WRITE = 1 << 1,
|
||||
COGL_BUFFER_ACCESS_READ_WRITE = COGL_BUFFER_ACCESS_READ |
|
||||
COGL_BUFFER_ACCESS_WRITE
|
||||
COGL_BUFFER_ACCESS_READ_WRITE = COGL_BUFFER_ACCESS_READ | COGL_BUFFER_ACCESS_WRITE
|
||||
} CoglBufferAccess;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user