addStruct

fun addStruct(vOffset: Int, x: Offset<*>, d: Offset<*>?)

Add a struct to the table. Structs are stored inline, so nothing additional is being added.

Parameters

vOffset

The index into the vtable.

x

The offset of the created struct.

d

The default value is always 0.


fun addStruct(vOffset: Int, x: Offset<*>, d: Offset<*>)
fun addStruct(vOffset: Int, x: Int, d: Int?)
fun addStruct(vOffset: Int, x: Int, d: Int)