mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 23:46:33 -05:00
Guard cogl-object.h within COGL_BEGIN_DECLS
To avoid linking trouble in C++ stuff Reviewed-By: Neil Roberts <neil@linux.intel.com> (cherry picked from commit b194f1bf58055ef1f5075508f19336cae648a0c8) Conflicts: cogl/cogl-object.h
This commit is contained in:
parent
6cab431f4c
commit
74a749386b
@ -25,6 +25,10 @@
|
||||
#ifndef __COGL_OBJECT_H
|
||||
#define __COGL_OBJECT_H
|
||||
|
||||
#include <cogl/cogl-types.h>
|
||||
|
||||
COGL_BEGIN_DECLS
|
||||
|
||||
typedef struct _CoglObject CoglObject;
|
||||
|
||||
#define COGL_OBJECT(X) ((CoglObject *)X)
|
||||
@ -209,5 +213,7 @@ cogl_debug_object_print_instances (void);
|
||||
|
||||
#endif /* COGL_ENABLE_EXPERIMENTAL_API */
|
||||
|
||||
COGL_END_DECLS
|
||||
|
||||
#endif /* __COGL_OBJECT_H */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user