]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/alien/arrays/arrays.factor
rename current string-mangling "char*" to "c-string". char* is now just a boring...
[factor.git] / basis / alien / arrays / arrays.factor
index f9a47f256c3f0d24fe0310bdfb27fdefca959f00..ce6eb85245509c51183f4b3b43be997d59d95575 100644 (file)
@@ -40,7 +40,7 @@ M: array c-type-boxer-quot
 M: array c-type-unboxer-quot drop [ >c-ptr ] ;
 
 PREDICATE: string-type < pair
-    first2 [ char* = ] [ word? ] bi* and ;
+    first2 [ c-string = ] [ word? ] bi* and ;
 
 M: string-type c-type ;
 
@@ -100,9 +100,5 @@ M: string-type c-type-getter
 M: string-type c-type-setter
     drop [ set-alien-cell ] ;
 
-{ char* utf8 } char <pointer> typedef
-{ char* utf8 } char* typedef
-{ char* utf8 } uchar <pointer> typedef
-{ char* binary } byte <pointer> typedef
-{ char* binary } ubyte <pointer> typedef
+{ c-string utf8 } c-string typedef