Type

Native
1.3
open class Type
(source)
Deprecated: Use sizeOf<T>() or alignOf<T>() instead.

The (complete) C data type.

Parameters

size - the size in bytes of data of this type

align - the alignments in bytes that is enough for this data type. It may be greater than actually required for simplicity.

Constructors

Native
1.3

<init>

The (complete) C data type.

Type(size: Long, align: Int)

Properties

Native
1.3

align

the alignments in bytes that is enough for this data type. It may be greater than actually required for simplicity.

val align: Int
Native
1.3

size

the size in bytes of data of this type

val size: Long