LiEmissionSetCopy

FunctionLtEmissionSet
LiEmissionSetCopy( LtEmissionSet tbc
)
Synopsis Copy an emission set.
Locationlishpro
Parameters
tbc Emission set to be copied.
Return Value A copy of the emission set passed as input.

Description This function generates a copy of an emission set. The copy will have all the contents of its arrays copied, rather than just their addresses. In this way destroying the original emission set will not free the memory being used by the arrays of the copy. If an error occurs then a NULL emission set will be returned.

Example

LtEmissionSet tbc = (LtEmissionSet)NULL ,
              copy = (LtEmissionSet)NULL ;

/*
 * Create an emission set using LiEmissionSetCreate
 * then copy it.
 */

...

if ( tbc != (LtEmissionSet)NULL )
   copy = LiEmissionSetCopy( tbc ) ;

See Also LiEmissionSetCreate
LiEmissionSetDebug
LiEmissionSetDestroy
LiEmissionSetEnquire
LiEmissionSetPreProcess
LiEmissionSetRead
LiEmissionSetWrite

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