]> gitweb.factorcode.org Git - factor.git/blob - extra/clutter/cogl/ffi/ffi.factor
b4752d402a83f9a2152f00c078b2e1f83b0547d6
[factor.git] / extra / clutter / cogl / 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 opengl.gl system vocabs.loader ;
5 IN: clutter.cogl.ffi
6
7 <<
8 "gobject.ffi" require
9 >>
10
11 LIBRARY: clutter.cogl
12
13 <<
14 "clutter.cogl" {
15     { [ os winnt? ] [ drop ] }
16     { [ os macosx? ] [ drop ] }
17     { [ os unix? ] [ "libclutter-glx-1.0.so" cdecl add-library ] }
18 } cond
19 >>
20
21 FOREIGN-ATOMIC-TYPE: GL.uint GLuint
22 FOREIGN-ATOMIC-TYPE: GL.enum GLenum
23
24 GIR: Cogl-1.0.gir
25