Function CSTL_define_type

Source
pub unsafe extern "C" fn CSTL_define_type(
    size: usize,
    alignment: usize,
) -> CSTL_Type
Expand description

Obtain a pseudohandle to the size and alignment of a C type.

If the below requirements are broken, the function returns an invalid handle equal to NULL:

  1. size must be a non-zero multiple of alignment.
  2. alignment must be a power of 2.
  3. size must be less than or equal to INTPTR_MAX.