1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef UI_BASE_GLIB_GLIB_INTEGERS_H_ 6 #define UI_BASE_GLIB_GLIB_INTEGERS_H_ 7 8 // GLib/GObject/Gtk all use their own integer typedefs. They are copied here 9 // for forward declaration reasons so we don't pull in all of glib/gtypes.h 10 // when we just need a gpointer. 11 typedef char gchar; 12 typedef short gshort; 13 typedef long glong; 14 typedef int gint; 15 typedef gint gboolean; 16 typedef unsigned char guchar; 17 typedef unsigned short gushort; 18 typedef unsigned long gulong; 19 typedef unsigned int guint; 20 21 typedef unsigned short guint16; 22 typedef unsigned int guint32; 23 24 typedef void* gpointer; 25 typedef const void *gconstpointer; 26 27 #endif // UI_BASE_GLIB_GLIB_INTEGERS_H_ 28