Skip to content

slot_clear

  • Free the specified slot, releasing any object that was slotted there
int64_t slot_clear (
uint32_t slot_no
);
slot_clear(1); // assumes a transaction is slotted into slot=1
NameTypeDescription
slot_nouint32_tThe slot number
TypeDescription
int64_t

1 or an error

If negative, an error:
DOESNT_EXIST
- the specified slot does not contain any object or it is an invalid slot