"CChar" (Compiled Type)
"CChar" (Compiled Type)
"CChar"
represents the C char type.
Details
- "CChar" is a macro that is replaced with a platform-specific concrete type. On most platforms, "CChar" is a macro for "UnsignedInteger8".
Examples
Basic Examples (2)
Compile a function that takes a "CChar" as input:
cf = FunctionCompile[Function[Typed[arg, "CChar"], arg]]cf[100]Create a constant with type "CChar":
cf = FunctionCompile[Function[{}, Typed[12, "CChar"]]]cf[]See Also
Compiled Types: Integer8 UnsignedInteger8 CInt
Tech Notes
Related Guides
History
Introduced in 2022 (13.1)