]> gitweb.factorcode.org Git - factor.git/blob - basis/gdk/gl/ffi/ffi.factor
4b3fb6ce9dbda55031b1e1e4362c051e2fbd2cde
[factor.git] / basis / gdk / 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 ;
5 IN: gdk.gl.ffi
6
7 <<
8 "gdk.ffi" require
9 >>
10
11 LIBRARY: gdk.gl
12
13 <<
14 "gdk.gl" {
15     { [ os windows? ] [ "libgdkglext-win32-1.0-0.dll" cdecl add-library ] }
16     { [ os macosx? ] [ drop ] }
17     { [ os unix? ] [ "libgdkglext-x11-1.0.so" cdecl add-library ] }
18 } cond
19 >>
20
21 GIR: vocab:gdk/gl/GdkGLExt-1.0.gir