CStructVar

abstract class CStructVar(rawPtr: NativePtr) : CVariable

The C struct-typed variable located in memory.

Constructors

CStructVar
Link copied to clipboard
fun CStructVar(rawPtr: NativePtr)

Types

Type
Link copied to clipboard
open class Type(size: Long, align: Int) : CVariable.Type

Properties

rawPtr
Link copied to clipboard
var rawPtr: NativePtr

Extensions

arrayMemberAt
Link copied to clipboard
inline fun <T : CVariable> CStructVar.arrayMemberAt(offset: Long): CArrayPointer<T>
memberAt
Link copied to clipboard
inline fun <T : CPointed> CStructVar.memberAt(offset: Long): T

Returns the member of this CStructVar which is located by given offset in bytes.