kotlin / 1.7.0 / api / latest / jvm / stdlib / kotlinx.cinterop / -c-variable / -type / -init-.html /

<init>

Platform and version requirements: Native (1.3)
Type(size: Long, align: Int)

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.

© 2010–2022 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/-c-variable/-type/-init-.html