wrap public headers in G_BEGIN/END_DECLS
This commit is contained in:
parent
caca123b90
commit
4460548ca0
3 changed files with 12 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
|||
#include <libxml/parser.h>
|
||||
#include <glib.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _ObParseInst ObParseInst;
|
||||
|
||||
typedef void (*ParseCallback)(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
|
||||
|
@ -80,4 +82,6 @@ gchar *parse_expand_tilde(const gchar *f);
|
|||
/*! Makes a directory and all its parents */
|
||||
void parse_mkdir_path(const gchar *path, gint mode);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
@ -25,6 +25,8 @@
|
|||
#include <X11/Xft/Xft.h>
|
||||
#include <glib.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef union _RrTextureData RrTextureData;
|
||||
typedef struct _RrAppearance RrAppearance;
|
||||
typedef struct _RrSurface RrSurface;
|
||||
|
@ -210,4 +212,6 @@ gboolean RrPixmapToRGBA(const RrInstance *inst,
|
|||
Pixmap pmap, Pixmap mask,
|
||||
gint *w, gint *h, RrPixel32 **data);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__render_h*/
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
|
||||
#include "render.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _RrTheme RrTheme;
|
||||
|
||||
struct _RrTheme {
|
||||
|
@ -187,4 +189,6 @@ struct _RrTheme {
|
|||
RrTheme* RrThemeNew(const RrInstance *inst, gchar *theme);
|
||||
void RrThemeFree(RrTheme *theme);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue