SEDRIS Reference Manual
APPENDIX A - LEVEL 0 READ and WRITE API Functions SE FreeObject |
---|
extern SE_Status_Code | |||
SE_FreeObject | |||
( | |||
SE_Object | to_free | (notes) | |
); |
Frees the memory directly associated with the specified object, if any, which was allocated by this API either
Note that if an object has been retrieved more than once, then SE_FreeObject() will not actually release the memory for that object until the last reference to the object is freed; i.e., you must call SE_FreeObject() for an object as many times as you have retrieved that object with an API function.
SE_STAT_CODE_SUCCESS |
and the reference count for this object is
decremented, if a valid parameter was passed in and all operations
succeeded. Please note that
|
SE_STAT_CODE_INVALID_OR_NULL_OBJECT | and nothing is changed, if to_free wasn't a handle to a valid, active (i.e., unfreed) object. |
SE_STAT_CODE_FAILURE | and nothing is changed, if the API implementation specified does not provide this function in its shared library, and dynamic binding is specified at compile time. |
the SEDRIS object to be freed.
Prev: SE_FreeIterator.
Next: SE_FreeObjectID.
Up:Index.
|