Type

open class Type(val size: Long, val align: Int)(source)

Deprecated

Use sizeOf<T>() or alignOf<T>() instead.

The (complete) C data type.

Since Kotlin

1.3

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

Link copied to clipboard
fun Type(size: Long, align: Int)

Properties

Link copied to clipboard
val align: Int
Since Kotlin 1.3
Link copied to clipboard
val size: Long
Since Kotlin 1.3

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard