Companion

object Companion

Functions

Link copied to clipboard

Create a mutable object using the provided ObjectLayoutVariant, but without initializing its fields. The caller is responsible for initializing the fields before use.

Link copied to clipboard
fun getField(self: AvailObject, slotIndex: Int): AvailObject

Extract the field value at the specified slot index.

Link copied to clipboard

Construct an object with attribute keys and values taken from the provided A_Map.

Link copied to clipboard

Construct an object from the specified tuple of field assignments.

Link copied to clipboard
fun setField(self: AvailObject, slotIndex: Int, value: A_BasicObject): AvailObject

Update the field value at the specified slot index of the mutable object.

Link copied to clipboard

Produce the given object's ObjectLayoutVariant's variantId.