USING: alien alien.c-types alien.libraries alien.syntax classes.struct combinators kernel specialized-arrays system ; IN: ftgl.libftgl << "libftgl" { { [ os unix? ] [ "libftgl.so" ] } } cond cdecl add-library "libftgl" deploy-library >> LIBRARY: libftgl CALLBACK: int foo ( int x ) ;