Mercurial > projects > dwt-linux
comparison dwt/internal/c/glib_object.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | 002bcca59004 |
children |
comparison
equal
deleted
inserted
replaced
237:98b80b00af79 | 238:380bad9f6852 |
---|---|
1 /****************************************************************************** | 1 /****************************************************************************** |
2 Based on the generated files from the BCD tool | 2 Based on the generated files from the BCD tool |
3 modified by: Frank Benoit <keinfarbton@googlemail.com> | 3 modified by: Frank Benoit <keinfarbton@googlemail.com> |
4 ******************************************************************************/ | 4 ******************************************************************************/ |
5 module dwt.internal.c.glib_object; | 5 module dwt.internal.c.glib_object; |
6 | |
7 import dwt.dwthelper.utils; | |
6 | 8 |
7 extern(C): | 9 extern(C): |
8 align(4): | 10 align(4): |
9 | 11 |
10 struct __gconv_step{} | 12 struct __gconv_step{} |
12 struct _GStaticMutex { ubyte[28] dummy; } | 14 struct _GStaticMutex { ubyte[28] dummy; } |
13 struct _GSystemThread{ ubyte[ 8] dummy; } | 15 struct _GSystemThread{ ubyte[ 8] dummy; } |
14 // gen .. | 16 // gen .. |
15 | 17 |
16 | 18 |
17 const char[] G_GNUC_FUNCTION = ""; | 19 const String G_GNUC_FUNCTION = ""; |
18 const char[] G_GNUC_PRETTY_FUNCTION = ""; | 20 const String G_GNUC_PRETTY_FUNCTION = ""; |
19 const double G_E = 2.7182818284590452353602874713526624977572470937000; | 21 const double G_E = 2.7182818284590452353602874713526624977572470937000; |
20 const double G_LN2 = 0.69314718055994530941723212145817656807550013436026; | 22 const double G_LN2 = 0.69314718055994530941723212145817656807550013436026; |
21 const double G_LN10 = 2.3025850929940456840179914546843642076011014886288; | 23 const double G_LN10 = 2.3025850929940456840179914546843642076011014886288; |
22 const double G_PI = 3.1415926535897932384626433832795028841971693993751; | 24 const double G_PI = 3.1415926535897932384626433832795028841971693993751; |
23 const double G_PI_2 = 1.5707963267948966192313216916397514420985846996876; | 25 const double G_PI_2 = 1.5707963267948966192313216916397514420985846996876; |
24 const double G_PI_4 = 0.78539816339744830961566084581987572104929234984378; | 26 const double G_PI_4 = 0.78539816339744830961566084581987572104929234984378; |
25 const double G_SQRT2 = 1.4142135623730950488016887242096980785696718753769; | 27 const double G_SQRT2 = 1.4142135623730950488016887242096980785696718753769; |
26 const int G_LITTLE_ENDIAN = 1234; | 28 const int G_LITTLE_ENDIAN = 1234; |
27 const int G_BIG_ENDIAN = 4321; | 29 const int G_BIG_ENDIAN = 4321; |
28 const int G_PDP_ENDIAN = 3412; | 30 const int G_PDP_ENDIAN = 3412; |
29 const char[] G_DIR_SEPARATOR_S = "/"; | 31 const String G_DIR_SEPARATOR_S = "/"; |
30 const char[] G_SEARCHPATH_SEPARATOR_S = ":"; | 32 const String G_SEARCHPATH_SEPARATOR_S = ":"; |
31 const double G_MUTEX_DEBUG_MAGIC = 0xf8e18ad7; | 33 const double G_MUTEX_DEBUG_MAGIC = 0xf8e18ad7; |
32 const int G_ALLOC_ONLY = 1; | 34 const int G_ALLOC_ONLY = 1; |
33 const int G_ALLOC_AND_FREE = 2; | 35 const int G_ALLOC_AND_FREE = 2; |
34 const int G_DATALIST_FLAGS_MASK = 0x3; | 36 const int G_DATALIST_FLAGS_MASK = 0x3; |
35 const int G_PRIORITY_HIGH = -100; | 37 const int G_PRIORITY_HIGH = -100; |
36 const int G_PRIORITY_DEFAULT = 0; | 38 const int G_PRIORITY_DEFAULT = 0; |
37 const int G_PRIORITY_HIGH_IDLE = 100; | 39 const int G_PRIORITY_HIGH_IDLE = 100; |
38 const int G_PRIORITY_DEFAULT_IDLE = 200; | 40 const int G_PRIORITY_DEFAULT_IDLE = 200; |
39 const int G_PRIORITY_LOW = 300; | 41 const int G_PRIORITY_LOW = 300; |
40 const char[] G_KEY_FILE_DESKTOP_KEY_TYPE = "Type"; | 42 const String G_KEY_FILE_DESKTOP_KEY_TYPE = "Type"; |
41 const char[] G_KEY_FILE_DESKTOP_KEY_VERSION = "Version"; | 43 const String G_KEY_FILE_DESKTOP_KEY_VERSION = "Version"; |
42 const char[] G_KEY_FILE_DESKTOP_KEY_NAME = "Name"; | 44 const String G_KEY_FILE_DESKTOP_KEY_NAME = "Name"; |
43 const char[] G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME = "GenericName"; | 45 const String G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME = "GenericName"; |
44 const char[] G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY = "NoDisplay"; | 46 const String G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY = "NoDisplay"; |
45 const char[] G_KEY_FILE_DESKTOP_KEY_COMMENT = "Comment"; | 47 const String G_KEY_FILE_DESKTOP_KEY_COMMENT = "Comment"; |
46 const char[] G_KEY_FILE_DESKTOP_KEY_ICON = "Icon"; | 48 const String G_KEY_FILE_DESKTOP_KEY_ICON = "Icon"; |
47 const char[] G_KEY_FILE_DESKTOP_KEY_HIDDEN = "Hidden"; | 49 const String G_KEY_FILE_DESKTOP_KEY_HIDDEN = "Hidden"; |
48 const char[] G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN = "OnlyShowIn"; | 50 const String G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN = "OnlyShowIn"; |
49 const char[] G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN = "NotShowIn"; | 51 const String G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN = "NotShowIn"; |
50 const char[] G_KEY_FILE_DESKTOP_KEY_TRY_EXEC = "TryExec"; | 52 const String G_KEY_FILE_DESKTOP_KEY_TRY_EXEC = "TryExec"; |
51 const char[] G_KEY_FILE_DESKTOP_KEY_EXEC = "Exec"; | 53 const String G_KEY_FILE_DESKTOP_KEY_EXEC = "Exec"; |
52 const char[] G_KEY_FILE_DESKTOP_KEY_PATH = "Path"; | 54 const String G_KEY_FILE_DESKTOP_KEY_PATH = "Path"; |
53 const char[] G_KEY_FILE_DESKTOP_KEY_TERMINAL = "Terminal"; | 55 const String G_KEY_FILE_DESKTOP_KEY_TERMINAL = "Terminal"; |
54 const char[] G_KEY_FILE_DESKTOP_KEY_MIME_TYPE = "MimeType"; | 56 const String G_KEY_FILE_DESKTOP_KEY_MIME_TYPE = "MimeType"; |
55 const char[] G_KEY_FILE_DESKTOP_KEY_CATEGORIES = "Categories"; | 57 const String G_KEY_FILE_DESKTOP_KEY_CATEGORIES = "Categories"; |
56 const char[] G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY = "StartupNotify"; | 58 const String G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY = "StartupNotify"; |
57 const char[] G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS = "StartupWMClass"; | 59 const String G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS = "StartupWMClass"; |
58 const char[] G_KEY_FILE_DESKTOP_KEY_URL = "URL"; | 60 const String G_KEY_FILE_DESKTOP_KEY_URL = "URL"; |
59 const char[] G_KEY_FILE_DESKTOP_TYPE_APPLICATION = "Application"; | 61 const String G_KEY_FILE_DESKTOP_TYPE_APPLICATION = "Application"; |
60 const char[] G_KEY_FILE_DESKTOP_TYPE_LINK = "Link"; | 62 const String G_KEY_FILE_DESKTOP_TYPE_LINK = "Link"; |
61 const char[] G_KEY_FILE_DESKTOP_TYPE_DIRECTORY = "Directory"; | 63 const String G_KEY_FILE_DESKTOP_TYPE_DIRECTORY = "Directory"; |
62 const char[] G_OPTION_REMAINING = ""; | 64 const String G_OPTION_REMAINING = ""; |
63 const char[] G_CSET_A_2_Z = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; | 65 const String G_CSET_A_2_Z = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; |
64 const char[] G_CSET_a_2_z = "abcdefghijklmnopqrstuvwxyz"; | 66 const String G_CSET_a_2_z = "abcdefghijklmnopqrstuvwxyz"; |
65 const char[] G_CSET_DIGITS = "0123456789"; | 67 const String G_CSET_DIGITS = "0123456789"; |
66 const char[] G_CSET_LATINC = "\300\301\302\303\304\305\306"; | 68 const String G_CSET_LATINC = "\300\301\302\303\304\305\306"; |
67 const char[] G_CSET_LATINS = "\337\340\341\342\343\344\345\346"; | 69 const String G_CSET_LATINS = "\337\340\341\342\343\344\345\346"; |
68 const int G_USEC_PER_SEC = 1000000; | 70 const int G_USEC_PER_SEC = 1000000; |
69 const int G_SIGNAL_FLAGS_MASK = 0x7f; | 71 const int G_SIGNAL_FLAGS_MASK = 0x7f; |
70 const int G_SIGNAL_MATCH_MASK = 0x3f; | 72 const int G_SIGNAL_MATCH_MASK = 0x3f; |
71 alias char gchar; | 73 alias char gchar; |
72 alias char * gchararray; | 74 alias char * gchararray; |