mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
cogl-error.h: add COGL_BEGIN_DECLS/COGL_END_DECLS
Fixes 'undefined reference to cogl_error_free' when using g++. Signed-off-by: Andreas Oberritter <obi@saftware.de> Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 41c54fcaba5b4bf76a0e943bac6bca777f3dae2f)
This commit is contained in:
parent
ea7d3b8476
commit
bb1f787e6a
@ -30,6 +30,8 @@
|
||||
|
||||
#include "cogl-types.h"
|
||||
|
||||
COGL_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* SECTION:cogl-error
|
||||
* @short_description: A way for Cogl to throw exceptions
|
||||
@ -173,4 +175,6 @@ cogl_error_matches (CoglError *error,
|
||||
#define COGL_GLIB_ERROR(COGL_ERROR) ((CoglError *)COGL_ERROR)
|
||||
#endif
|
||||
|
||||
COGL_END_DECLS
|
||||
|
||||
#endif /* __COGL_ERROR_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user