]> gitweb.factorcode.org Git - factor.git/blob - basis/gtk/ffi/ffi.factor
factor: more top level forms.
[factor.git] / basis / gtk / ffi / ffi.factor
1 ! Copyright (C) 2010 Anton Gorenko.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien alien.c-types alien.destructors alien.libraries
4 alien.syntax combinators gobject-introspection
5 gobject-introspection.standard-types kernel pango.ffi system
6 vocabs ;
7 IN: gtk.ffi
8
9 <<
10 "atk.ffi" require
11 "gdk.ffi" require
12 >>
13
14 LIBRARY: gtk
15
16 USE-WINDOWS: gtk cdecl "libgtk-win32-2.0-0.dll"
17 USE-LINUX: gtk cdecl "libgtk-x11-2.0.so"
18
19 IMPLEMENT-STRUCTS: GtkTreeIter ;
20
21 GIR: vocab:gtk/Gtk-3.0.gir
22
23 DESTRUCTOR: gtk_widget_destroy
24
25 ! <workaround
26 FORGET: gtk_im_context_get_preedit_string
27 FUNCTION: void
28 gtk_im_context_get_preedit_string ( GtkIMContext* imcontext, gchar** str, PangoAttrList** attrs, gint* cursor_pos )
29 ! workaround>