Codebase list libmypaint / 94cd3f2c-1a1e-4d25-85a6-9940c4884430/main mypaint-glib-compat.h
94cd3f2c-1a1e-4d25-85a6-9940c4884430/main

Tree @94cd3f2c-1a1e-4d25-85a6-9940c4884430/main (Download .tar.gz)

mypaint-glib-compat.h @94cd3f2c-1a1e-4d25-85a6-9940c4884430/mainraw · history · blame

#ifndef MYPAINTGLIBCOMPAT_H
#define MYPAINTGLIBCOMPAT_H

#include "mypaint-config.h"

#ifndef __G_LIB_H__

/* From $INCLUDEPATH/glib-2.0/glib/gmacros.h */
#ifdef  __cplusplus
# define G_BEGIN_DECLS  extern "C" {
# define G_END_DECLS    }
#else
# define G_BEGIN_DECLS
# define G_END_DECLS
#endif

#define	FALSE	(0)
#define	TRUE	(!FALSE)

typedef void * gpointer;

/* From $INCLUDEPATH/glib-2.0/glib/gtypes.h */
typedef char gchar;
typedef int gint;
typedef gint gboolean;

/* From $LIBPATH/glib-2.0/include/glibconfig.h */
typedef unsigned short guint16;

#endif // __G_LIB_H__

#endif // MYPAINTGLIBCOMPAT_H