factor/extra/clutter/cogl/ffi/ffi.factor

26 lines
555 B
Factor
Raw Normal View History

! Copyright (C) 2010 Anton Gorenko.
! See http://factorcode.org/license.txt for BSD license.
2010-11-20 10:27:47 -05:00
USING: alien alien.libraries alien.syntax combinators
gobject-introspection kernel opengl.gl system vocabs.loader ;
IN: clutter.cogl.ffi
2010-11-20 10:27:47 -05:00
<<
"gobject.ffi" require
>>
LIBRARY: clutter.cogl
<<
"clutter.cogl" {
{ [ os winnt? ] [ drop ] }
{ [ os macosx? ] [ drop ] }
{ [ os unix? ] [ "libclutter-glx-1.0.so" cdecl add-library ] }
} cond
>>
2010-11-20 10:27:47 -05:00
FOREIGN-ATOMIC-TYPE: GL.uint GLuint
FOREIGN-ATOMIC-TYPE: GL.enum GLenum
GIR: vocab:clutter/cogl/Cogl-1.0.gir