mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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
This commit is contained in:
parent
6a8e108757
commit
5395a7a998
@ -24,6 +24,10 @@
|
||||
#ifndef __COGL_PRIMITIVES_H
|
||||
#define __COGL_PRIMITIVES_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user