factor/basis/gtk/gl/gl.factor

16 lines
440 B
Factor
Raw Normal View History

! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
USING: alien.syntax alien.libraries combinators kernel system
gir glib gobject gio gmodule gdk.pixbuf gdk gdk.gl gtk gtk.ffi ;
<<
"gtk.gl" {
{ [ os winnt? ] [ "" "cdecl" add-library ] }
{ [ os macosx? ] [ drop ] }
{ [ os unix? ] [ "libgtkglext-x11-1.0.so" "cdecl" add-library ] }
} cond
>>
IN-GIR: gtk.gl vocab:gtk/gl/GtkGL-1.0.gir