Add header and compiler guards.
authorEmmanuele Bassi <ebassi@openedhand.com>
Tue, 27 Mar 2007 09:38:35 +0000 (09:38 +0000)
committerEmmanuele Bassi <ebassi@openedhand.com>
Tue, 27 Mar 2007 09:38:35 +0000 (09:38 +0000)
ChangeLog
clutter/cogl/cogl.h

index 3d469e8..a1e5daf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-03-27  Emmanuele Bassi  <ebassi@openedhand.com>
 
+       * clutter/cogl/cogl.h: Add header and compiler guards.
+
+2007-03-27  Emmanuele Bassi  <ebassi@openedhand.com>
+
        * clutter/glx/clutter-stage-glx.c: Remove the check in the
        paint chain up: we know for sure that the parent's paint
        vfunc is present.
index 40ec051..863dc63 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+#ifndef __COGL_H__
+#define __COGL_H__
+
+#include <glib.h>
 #include <clutter/clutter.h>
 
+G_BEGIN_DECLS
+
 typedef void (*CoglFuncPtr) (void);
 
 CoglFuncPtr
@@ -57,3 +63,6 @@ cogl_rotatex (ClutterFixed angle, gint x, gint y, gint z);
 void
 cogl_rotate (gint angle, gint x, gint y, gint z);
 
+G_END_DECLS
+
+#endif /* __COGL_H__ */