]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/alien/data/map/map.factor
use a "pointer" wrapper tuple to indicate pointer types instead of the current slipsh...
[factor.git] / extra / alien / data / map / map.factor
index 6c93e8f4b633d400df3f52ce4cceb0704e010440..06997bce56af5ed882514005f5207a112355be7c 100644 (file)
@@ -54,7 +54,7 @@ INSTANCE: data-map-param immutable-sequence
     nip '[ _ <sliced-groups> ] ;
 
 : [>param] ( type -- quot )
-    c-type-count over c-type-name?
+    c-type-count over c-type-word?
     [ [>c-type-param] ] [ [>object-param] ] if ; 
 
 MACRO: >param ( in -- quot: ( array -- param ) )
@@ -74,7 +74,7 @@ MACRO: >param ( in -- quot: ( array -- param ) )
     "Factor sequences as data-map outputs not supported" throw ;
 
 : [alloc-param] ( type -- quot )
-    c-type-count over c-type-name?
+    c-type-count over c-type-word?
     [ [alloc-c-type-param] ] [ [alloc-object-param] ] if ; 
 
 MACRO: alloc-param ( out -- quot: ( len -- param ) )