The SEDRIS Data Representation Model
APPENDIX D - Functions
SE FreeCharacterArray
extern void
SE_FreeCharacterArray
(
char *string_ptr, (notes)
void (*dealloc_func_in_ptr)(void *) (notes)
);

Definition

Deallocates a 'string' variable. Does NOT accept an EDCS_String. Instead, this function is intended to free a (char *) that was allocated by the SE_AllocCharacterArray() function.

Can be used for the dealloc_func_ptr parameter for the Level 1 API functions SE_FreeDataTableDataStrings(), SE_FreeElementOfDataTableDataStrings(), and SE_FreePackedDataTableDataStrings() functions if the user does not wish to provide his/her own function.



Parameters Notes


string_ptr

 string to be freed

dealloc_func_in_ptr

 pointer to a user-supplied function to
    be used to free the memory. Must correspond to the function used to
    allocate the memory.


Prev: SE_EnumNameToVariableCode. Next: SE_FreeFields. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™