SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API Functions SE FreeReferenceSymbol |
---|
extern SE_Status_Code | |||
SE_FreeReferenceSymbol | |||
( | |||
SE_Reference_Symbol | ref_symbol | (notes) | |
); |
Frees the memory directly associated with the specified reference symbol, if any, which was allocated by this API either
Note that if a reference symbol has been retrieved more than once, then SE_FreeReferenceSymbol() will not actually release the memory for that reference symbol until the last reference to the reference symbol is freed; i.e., you must call SE_FreeReferenceSymbol() for a reference symbol as many times as you have retrieved that reference symbol with an API function.
SE_STAT_CODE_SUCCESS | and the reference count for this reference symbol
is decremented, if a valid parameter was passed in and all operations
succeeded. Please note the following:
|
SE_STAT_CODE_INVALID_OR_NULL_REFERENCE_SYMBOL | and no changes are made, if ref_symbol is not a handle to a valid, active (i.e., not freed) SE_Reference_Symbol created by one of the create-reference-symbol functions. |
SE_STAT_CODE_FAILURE | and no changes are made, if
|
the reference symbol to be freed.
Prev: SE_FreePackedHierarchy.
Next: SE_FreeRemainingObjectsList.
Up:Index.
|