libmypaint  1.6.0
mypaint-glib-compat.h
Go to the documentation of this file.
1 #ifndef MYPAINTGLIBCOMPAT_H
2 #define MYPAINTGLIBCOMPAT_H
3 
4 #include "mypaint-config.h"
5 
6 #ifndef __G_LIB_H__
7 
8 /* From $INCLUDEPATH/glib-2.0/glib/gmacros.h */
9 #ifdef __cplusplus
10 # define G_BEGIN_DECLS extern "C" {
11 # define G_END_DECLS }
12 #else
13 # define G_BEGIN_DECLS
14 # define G_END_DECLS
15 #endif
16 
17 #define FALSE (0)
18 #define TRUE (!FALSE)
19 
20 typedef void * gpointer;
21 
22 /* From $INCLUDEPATH/glib-2.0/glib/gtypes.h */
23 typedef char gchar;
24 typedef int gint;
25 typedef gint gboolean;
26 
27 /* From $LIBPATH/glib-2.0/include/glibconfig.h */
28 typedef unsigned short guint16;
29 
30 #endif // __G_LIB_H__
31 
32 #endif // MYPAINTGLIBCOMPAT_H
unsigned short guint16
Definition: mypaint-glib-compat.h:28
gint gboolean
Definition: mypaint-glib-compat.h:25
char gchar
Definition: mypaint-glib-compat.h:23
void * gpointer
Definition: mypaint-glib-compat.h:20
int gint
Definition: mypaint-glib-compat.h:24