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