LiEmissionSetDestroy

FunctionLtStatus
LiEmissionSetDestroy( LtEmissionSet the_set
)
Synopsis Destroy an emission set.
Locationlishpro
Parameters
the_set Emission set to be destroyed.
Return Value A status value.

Description This function destroys an emission set and frees up the memory it was using. Attempting to destroy a NULL emission set will result in an error status being returned.

Example

LtEmissionSet the_set = (LtEmissionSet)NULL ;
LtStatus      status = LI_STATUS_OK ;

/*
 * Create an emission set using LiEmissionSetCreate
 * and complete all required processing, then
 * destroy it.
 */

...

if ( the_set != (LtEmissionSet)NULL )
   status = LiEmissionSetDestroy( the_set ) ;

See Also LiEmissionSetCreate
LiEmissionSetCopy
LiEmissionSetDebug
LiEmissionSetEnquire
LiEmissionSetPreProcess
LiEmissionSetRead
LiEmissionSetWrite

Copyright © 1990-1998, 1999 LightWork Design Limited. All rights reserved