]> gitweb.factorcode.org Git - factor.git/blob - basis/gmodule/ffi/ffi.factor
c90fce8085ba2e0ae2714f4c57cd68c956c2fadc
[factor.git] / basis / gmodule / 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: gmodule.ffi
6
7 <<
8 "glib.ffi" require
9 >>
10
11 LIBRARY: gmodule
12
13 <<
14 "gmodule" {
15     { [ os winnt? ] [ "libgmodule-2.0-0.dll" cdecl add-library ] }
16     { [ os macosx? ] [ drop ] }
17     { [ os unix? ] [ "libgmodule-2.0.so" cdecl add-library ] }
18 } cond
19 >>
20
21 GIR: vocab:gmodule/GModule-2.0.gir