]> gitweb.factorcode.org Git - factor.git/commitdiff
update new structs again
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 25 Aug 2009 21:31:58 +0000 (16:31 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 25 Aug 2009 21:31:58 +0000 (16:31 -0500)
basis/compiler/tests/alien.factor

index b1780e33e1c7647f6345cdba3bc676c75158a788..a5aa91bdf749db9e5363fbc97b07b59aec3250e2 100755 (executable)
@@ -6,7 +6,6 @@ namespaces.private parser quotations sequences
 specialized-arrays.float stack-checker stack-checker.errors
 system threads tools.test words ;
 IN: compiler.tests.alien
-FROM: classes.c-types => short float ;
 
 <<
 : libfactor-ffi-tests-path ( -- string )
@@ -575,8 +574,8 @@ FUNCTION: complex-float ffi_test_47 ( complex-float x, complex-double y ) ;
 
 ! Reported by jedahu
 STRUCT: bool-field-test
-    { name pinned-c-ptr }
-    { on boolean }
+    { name char* }
+    { on bool }
     { parents short } ;
 
 FUNCTION: short ffi_test_48 ( bool-field-test x ) ;