]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/alien/c-types/c-types.factor
rename current string-mangling "char*" to "c-string". char* is now just a boring...
[factor.git] / basis / alien / c-types / c-types.factor
index 3255d16d80ba7719d1ba847fb3d0df64941e245f..73da41cc69240bbde67db9868390b2a15a0a69d0 100644 (file)
@@ -273,7 +273,7 @@ M: long-long-type box-return ( c-type -- )
 
 SYMBOLS:
     ptrdiff_t intptr_t uintptr_t size_t
-    byte ubyte char* ;
+    c-string ;
 
 CONSTANT: primitive-types
     {
@@ -284,7 +284,7 @@ CONSTANT: primitive-types
         longlong ulonglong
         float double
         void* bool
-        char*
+        c-string
     }
 
 : (pointer-c-type) ( void* type -- void*' )
@@ -530,8 +530,6 @@ M: pointer c-type
         \ uint c-type \ size_t typedef
     ] if
 
-    \ char \ byte typedef
-    \ uchar \ ubyte typedef
 ] with-compilation-unit
 
 M: char-16-rep rep-component-type drop char ;