1 ! Copyright (C) 2008 Matthew Willis.
2 ! Copyright (C) 2009 Slava Pestov.
3 ! See http://factorcode.org/license.txt for BSD license
4 USING: alien alien.syntax alien.destructors combinators system ;
10 { [ os winnt? ] [ "glib" "libglib-2.0-0.dll" "cdecl" add-library ] }
11 { [ os macosx? ] [ "glib" "/opt/local/lib/libglib-2.0.0.dylib" "cdecl" add-library ] }
16 { [ os winnt? ] [ "gobject" "libgobject-2.0-0.dll" "cdecl" add-library ] }
17 { [ os macosx? ] [ "gobject" "/opt/local/lib/libgobject-2.0.0.dylib" "cdecl" add-library ] }
25 TYPEDEF: void* gpointer
27 TYPEDEF: bool gboolean
30 g_free ( gpointer mem ) ;
35 g_object_unref ( gpointer object ) ;
37 DESTRUCTOR: g_object_unref