1 ! Copyright (C) 2010 Anton Gorenko.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: accessors alien.c-types alien.syntax
4 classes.struct gobject-introspection.types kernel parser ;
5 IN: gobject-introspection.standard-types
11 TYPEDEF: ushort gushort
20 TYPEDEF: ushort guint16
23 TYPEDEF: longlong gint64
24 TYPEDEF: ulonglong guint64
27 TYPEDEF: double gdouble
33 TYPEDEF: void* gpointer
34 TYPEDEF: guint32 gunichar
35 TYPEDEF: void* va_list
37 int lookup-c-type clone
38 [ >c-bool ] >>unboxer-quot
39 [ c-bool> ] >>boxer-quot
41 "gboolean" create-word-in typedef
43 STRUCT: longdouble { data char[10] } ;
46 gchar "gchar" register-standard-type
47 guchar "guchar" register-standard-type
48 gshort "gshort" register-standard-type
49 gushort "gushort" register-standard-type
50 glong "glong" register-standard-type
51 gulong "gulong" register-standard-type
52 gint "gint" register-standard-type
53 guint "guint" register-standard-type
55 gint8 "gint8" register-standard-type
56 guint8 "guint8" register-standard-type
57 gint16 "gint16" register-standard-type
58 guint16 "guint16" register-standard-type
59 gint32 "gint32" register-standard-type
60 guint32 "guint32" register-standard-type
61 gint64 "gint64" register-standard-type
62 guint64 "guint64" register-standard-type
64 gfloat "gfloat" register-standard-type
65 gdouble "gdouble" register-standard-type
67 gsize "gsize" register-standard-type
68 gssize "gssize" register-standard-type
70 GType "GType" register-standard-type
71 gpointer "gpointer" register-standard-type
72 gunichar "gunichar" register-standard-type
73 va_list "va_list" register-standard-type
75 gboolean "gboolean" register-standard-type
76 pointer: gchar "utf8" register-standard-type
77 longdouble "long double" register-standard-type