change typedef of gboolean (gint with automatic boxing/unboxing to/from factor's t and f)

db4
Anton Gorenko 2010-05-24 19:47:16 +06:00
parent ab9e851bed
commit 2677b7b562
1 changed files with 11 additions and 3 deletions

View File

@ -1,7 +1,7 @@
! Copyright (C) 2009 Anton Gorenko. ! Copyright (C) 2009 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
USING: alien alien.c-types alien.libraries alien.syntax combinators gir USING: accessors alien alien.c-types alien.libraries alien.syntax
kernel system vocabs.parser words ; combinators compiler.units gir kernel system vocabs.parser words ;
<< <<
"glib" { "glib" {
@ -23,7 +23,15 @@ TYPEDEF: long glong
TYPEDEF: ulong gulong TYPEDEF: ulong gulong
TYPEDEF: int gint TYPEDEF: int gint
TYPEDEF: uint guint TYPEDEF: uint guint
TYPEDEF: bool gboolean
SYMBOL: gboolean
<<
gint c-type clone
[ >c-bool ] >>unboxer-quot
[ c-bool> ] >>boxer-quot
object >>boxed-class
gboolean typedef
>>
TYPEDEF: char gint8 TYPEDEF: char gint8
TYPEDEF: uchar guint8 TYPEDEF: uchar guint8