W3cubDocs

/Kotlin

Type

Platform and version requirements: Native (1.3)
open class Type

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

Platform and version requirements: Native (1.3)

<init>

The (complete) C data type.

Type(size: Long, align: Int)

Properties

Platform and version requirements: 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
Platform and version requirements: Native (1.3)

size

the size in bytes of data of this type

val size: Long

© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/-c-variable/-type/index.html