]> gitweb.factorcode.org Git - factor.git/commitdiff
deploy chipmunk lib
authorJoe Groff <arcata@gmail.com>
Thu, 25 Feb 2010 23:13:06 +0000 (15:13 -0800)
committerJoe Groff <arcata@gmail.com>
Thu, 25 Feb 2010 23:13:06 +0000 (15:13 -0800)
extra/chipmunk/ffi/ffi.factor

index e2adf2dff7cd478d5e3b6af72d497d3d2b65a45d..0142b57a7727a87190cedf48b8da46fa4f699d44 100644 (file)
@@ -2,15 +2,19 @@
 ! See http:// factorcode.org/license.txt for BSD license.
 USING: accessors alien.c-types alien.syntax classes.struct combinators
 combinators.short-circuit kernel math math.order sequences
-specialized-arrays.instances.alien.c-types.void* typed
-specialized-arrays locals system alien.libraries ;
+typed specialized-arrays locals system alien.libraries ;
+SPECIALIZED-ARRAY: void*
 IN: chipmunk.ffi
 
-<< "chipmunk" {
-        { [ os windows? ] [ "chipmunk.dll" ] }
-        { [ os macosx? ] [ "libchipmunk.dylib"  ] }
-        { [ os unix?  ] [ "libchipmunk.so" ] }
-    } cond "cdecl" add-library >>
+<<
+"chipmunk" {
+    { [ os windows? ] [ "chipmunk.dll" ] }
+    { [ os macosx? ] [ "libchipmunk.dylib"  ] }
+    { [ os unix?  ] [ "libchipmunk.so" ] }
+} cond "cdecl" add-library
+
+"chipmunk" deploy-library
+>>
 LIBRARY: chipmunk
 
 ! chipmunk_types.h