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