ufmFreeTypefaceList(3w) ufmFreeTypefaceList(3w)
ufmFreeTypefaceList - free a list of typefaces
#include <ufm.h>
int ufmFreeTypefaceList(unsigned int nTypefaces, ufmTypeface *typefaces)
ufmFreeTypefaceList frees the memory ufmGetTypefaceList allocated for an
array of the data structures of the type ufmTypeface.
When ufmGetTypefaceList allocates an array of the data structures of the
type ufmTypeface, it returns the number of allocated data structures
(nTypefaces) and the address of that data structure (typefaces). When
you are finished with that array of data structures, you can free it by
calling ufmFreeTypefaceList with the address that was returned by
ufmGetTypefaceList.
ufmGetTypefaceList(3w).
If the value of nTypefaces is less than 1, or if you specify a NULL
pointer for typefaces, ufmFreeTypefaceList will return the value
UFM_INVALID_VALUE. Else, it will return the value UFM_NO_ERROR.
UFM_INVALID_VALUE and UFM_NO_ERROR are defined in the header file
<ufm.h>.
PPPPaaaaggggeeee 1111 [ Back ]
|