37 lines
889 B
C
37 lines
889 B
C
// Wrapper for mono/mono/eglib/glib.h to mock the types for embedding
|
|
|
|
#ifndef _GLIB_H_
|
|
#define _GLIB_H_
|
|
|
|
#include <stdint.h>
|
|
#include <limits.h>
|
|
|
|
/*
|
|
* Basic data types
|
|
*/
|
|
typedef int gint;
|
|
typedef unsigned int guint;
|
|
typedef short gshort;
|
|
typedef unsigned short gushort;
|
|
typedef long glong;
|
|
typedef unsigned long gulong;
|
|
typedef void * gpointer;
|
|
typedef const void * gconstpointer;
|
|
typedef char gchar;
|
|
typedef unsigned char guchar;
|
|
|
|
/* Types defined in terms of the stdint.h */
|
|
typedef int8_t gint8;
|
|
typedef uint8_t guint8;
|
|
typedef int16_t gint16;
|
|
typedef uint16_t guint16;
|
|
typedef int32_t gint32;
|
|
typedef uint32_t guint32;
|
|
typedef int64_t gint64;
|
|
typedef uint64_t guint64;
|
|
typedef float gfloat;
|
|
typedef double gdouble;
|
|
typedef int32_t gboolean;
|
|
|
|
#endif
|