Interface INativeType

    • Method Detail

      • Array

        INativeType Array​(int size)
        Create an array type from this.
        Parameters:
        size - The predefined size for the array.
        Returns:
        The derived type.
      • getPreferredBoundary

        int getPreferredBoundary()
        The boundary where this type as a struct member would want to be aligned. A structure can override this value with packing.
        Returns:
        The preferred alignment boundary.
      • getByteCount

        int getByteCount()
        The size of the type in c memory.
        Returns:
        The size of the type in c memory.
      • Ref

        INativeType Ref()
        Create a reference type to this.
        Returns:
        The derived type.