summaryrefslogtreecommitdiffstats
path: root/ui/base/glib/glib_integers.h
blob: a875ffeab548e692101d7f87b4ba90b04c2c4161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_BASE_GLIB_GLIB_INTEGERS_H_
#define UI_BASE_GLIB_GLIB_INTEGERS_H_

// GLib/GObject/Gtk all use their own integer typedefs. They are copied here
// for forward declaration reasons so we don't pull in all of glib/gtypes.h
// when we just need a gpointer.
typedef char gchar;
typedef short gshort;
typedef long glong;
typedef int gint;
typedef gint gboolean;
typedef unsigned char guchar;
typedef unsigned short gushort;
typedef unsigned long gulong;
typedef unsigned int guint;

typedef unsigned short guint16;
typedef unsigned int guint32;

typedef void* gpointer;
typedef const void *gconstpointer;

#endif  // UI_BASE_GLIB_GLIB_INTEGERS_H_