]> gitweb.factorcode.org Git - factor.git/blob - basis/gtk/gl/ffi/ffi.factor
e901c5bb2ffadb9631d60e89ec7743844773ab2e
[factor.git] / basis / gtk / gl / ffi / ffi.factor
1 ! Copyright (C) 2010 Anton Gorenko.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien alien.libraries alien.syntax combinators
4 gobject-introspection kernel system vocabs.loader ;
5 IN: gtk.gl.ffi
6
7 <<
8 "gtk.ffi" require
9 "gdk.gl.ffi" require
10 >>
11
12 LIBRARY: gtk.gl
13
14 <<
15 "gtk.gl" {
16     { [ os winnt? ] [ drop ] }
17     { [ os macosx? ] [ drop ] }
18     { [ os unix? ] [ "libgtkglext-x11-1.0.so" cdecl add-library ] }
19 } cond
20 >>
21
22 GIR: vocab:gtk/gl/GtkGLExt-1.0.gir