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 #include <cstdint> 9 10 // GLib/GObject/Gtk all use their own integer typedefs. They are copied here 11 // for forward declaration reasons so we don't pull in all of glib/gtypes.h 12 // when we just need a gpointer. 13 typedef char gchar; 14 typedef short gshort; 15 typedef long glong; 16 typedef int gint; 17 typedef gint gboolean; 18 typedef unsigned char guchar; 19 typedef unsigned short gushort; 20 typedef unsigned long gulong; 21 typedef unsigned int guint; 22 typedef double gdouble; 23 24 typedef int64_t gint64; 25 26 typedef void* gpointer; 27 typedef const void *gconstpointer; 28 29 #endif // UI_BASE_GLIB_GLIB_INTEGERS_H_ 30