From 93754d8dc04d7841e0b51e1750f68f015c9e4e71 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 25 Mar 2010 09:33:26 +0000 Subject: [PATCH] Use begin/end macros in cogl-primitives.h Protect the people using a C++ compiler from the dark abyss of C code. http://bugzilla.openedhand.com/show_bug.cgi?id=2049 --- cogl/cogl-primitives.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cogl/cogl-primitives.h b/cogl/cogl-primitives.h index d2182b2f5..f638056f3 100644 --- a/cogl/cogl-primitives.h +++ b/cogl/cogl-primitives.h @@ -24,6 +24,10 @@ #ifndef __COGL_PRIMITIVES_H #define __COGL_PRIMITIVES_H +#include + +G_BEGIN_DECLS + /** * SECTION:cogl-primitives * @short_description: Functions that draw various primitive 3D shapes @@ -181,4 +185,6 @@ cogl_polygon (const CoglTextureVertex *vertices, unsigned int n_vertices, gboolean use_color); +G_END_DECLS + #endif /* __COGL_PRIMITIVES_H */