/* Oran Agra and Mickey Gabel. */
/* */
/* This file is part of the FreeType project, and may only be used, */
/* Oran Agra and Mickey Gabel. */
/* */
/* This file is part of the FreeType project, and may only be used, */
FT_Init_Class_pscmaps_interface( FT_Library library,
FT_Service_PsCMapsRec* clazz );
FT_Init_Class_pscmaps_interface( FT_Library library,
FT_Service_PsCMapsRec* clazz );
void
psnames_module_class_pic_free( FT_Library library )
{
FT_PIC_Container* pic_container = &library->pic_container;
void
psnames_module_class_pic_free( FT_Library library )
{
FT_PIC_Container* pic_container = &library->pic_container;
FT_Destroy_Class_pscmaps_services( library,
container->pscmaps_services );
container->pscmaps_services = NULL;
FT_Destroy_Class_pscmaps_services( library,
container->pscmaps_services );
container->pscmaps_services = NULL;
psnames_module_class_pic_init( FT_Library library )
{
FT_PIC_Container* pic_container = &library->pic_container;
psnames_module_class_pic_init( FT_Library library )
{
FT_PIC_Container* pic_container = &library->pic_container;
FT_Memory memory = library->memory;
/* allocate pointer, clear and set global container pointer */
FT_Memory memory = library->memory;
/* allocate pointer, clear and set global container pointer */
return error;
FT_MEM_SET( container, 0, sizeof ( *container ) );
pic_container->psnames = container;
return error;
FT_MEM_SET( container, 0, sizeof ( *container ) );
pic_container->psnames = container;
error = FT_Create_Class_pscmaps_services(
library, &container->pscmaps_services );
if ( error )
error = FT_Create_Class_pscmaps_services(
library, &container->pscmaps_services );
if ( error )
FT_Init_Class_pscmaps_interface( library,
&container->pscmaps_interface );
FT_Init_Class_pscmaps_interface( library,
&container->pscmaps_interface );