SlotFactory_Delete()

Delete a slot factory instance.

Synopsis:

#include <asr/slot-factory.h>
 
void SlotFactory_Delete(SlotFactory **factory)

Arguments:

factory

A pointer to the memory location of a slot factory instance.

Library:

libasr

Description:

The SlotFactory_Delete() function deletes a slot factory instance that was previously allocated via SlotFactory_Create(). This instance is reset (i.e., its buffer is released) and the memory it occupies is deleted. The factory pointer is set to NULL.

Returns:

Nothing.