create

inline fun create(indexedSlotCount: Int = 0, init: AvailObject.() -> Unit = { }): AvailObject

Create a new object whose descriptor is the receiver, and which has the specified number of indexed (variable) slots.

Return

The new uninitialized object.

Parameters

indexedSlotCount

The number of variable slots to include.


inline fun create(indexedObjectSlots: Int, indexedIntSlots: Int, init: AvailObject.() -> Unit = { }): AvailObject

Create a new object whose descriptor is the receiver, and which has the specified number of indexed (variable) slots for objects and ints.

Return

The new uninitialized object.

Parameters

indexedObjectSlots

The number of variable object slots to include.

indexedIntSlots

The number of variable int slots to include.