core-foundation.arrays: CF>array word was broken ever since integer sequences were removed

db4
Slava Pestov 2010-02-10 11:46:44 +13:00
parent 45f1fcaf7b
commit 301b407f45
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ FUNCTION: void CFArraySetValueAtIndex ( CFArrayRef array, CFIndex index, void* v
FUNCTION: CFIndex CFArrayGetCount ( CFArrayRef array ) ;
: CF>array ( alien -- array )
dup CFArrayGetCount [ CFArrayGetValueAtIndex ] with map ;
dup CFArrayGetCount
[ CFArrayGetValueAtIndex ] with { } map-integers ;
: <CFArray> ( seq -- alien )
f over length &: kCFTypeArrayCallBacks CFArrayCreateMutable