next up previous contents
Next: ox_work: processing and generating Up: Setting up your callbacks Previous: ox_create: manufacturing new machines

ox_destroy: destroying machines

The opposite of ox_create(). If you normally create a state object or allocate any memory buffers for a machine, now is the time to free that memory, and then free the state object itself. Be sure to use pkg->free(), the memory deallocation wrapper.



David O'Toole
2000-07-19