! Copyright (C) 2010 Anton Gorenko. ! See http://factorcode.org/license.txt for BSD license. USING: alien alien.c-types alien.destructors alien.libraries alien.libraries.finder alien.syntax assocs gobject-introspection gobject-introspection.standard-types kernel pango.ffi system vocabs ; IN: gtk.ffi << "atk.ffi" require "gdk.ffi" require >> LIBRARY: gtk << "gtk" { { linux "gtk-x11-2.0" } { windows "libgtk-win32-2.0-0" } } os of [ find-library cdecl add-library ] [ drop ] if* >> IMPLEMENT-STRUCTS: GtkTreeIter ; GIR: vocab:gtk/Gtk-3.0.gir DESTRUCTOR: gtk_widget_destroy !