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