contents   index   previous   next



seCloneString

 

syntax:

   seobject

seCloneObject(secontext se,seobject item);

 

   seconstcharptr seCloneString(secontextse,seconstcharptr item);

where:

se the context the item belongs to

 

item the item to clone

 

return:

The cloned item

 

description:

The standard lifetime clone routines corresponding to seGetXXX. See Lifetimes for the standard ScriptEase lifetime rules which these functions are a part of.

 

These calls produce a duplicate of the item. The duplicate and the original handle refer to the same item but are independent. For instance, freeing one of the handles means that handle can no longer be used, but the other handle is still valid until it to is freed.

 

see:

seGetObjectEx, seGetStringEx

 


seWeakLockObject