StructCtor

Constructor function to the struct S.

Properties

Link copied to clipboard
abstract val structInfo: StructInfo<S>

Information of the struct S.

Functions

Link copied to clipboard
operator fun <S : StructType> StructCtor<S>.invoke(): S

Instantiate a new instance of S.

operator fun <S : StructType> StructCtor<S>.invoke(pointer: WasmPointer): S

Instantiate a new instance of S wrapping C-struct pointer.