{
FT_Errorerror;
FT_Memorymemory;
/* First of all, allocate a new system object -- this function is part *//* of the system-specific component, i.e. `ftsystem.c'. */
memory = FT_New_Memory();
if ( !memory )
{
FT_ERROR(( "FT_Init_FreeType: cannot find memory manager\n" ));
return FT_Err_Unimplemented_Feature;
}
/* build a library out of it, then fill it with the set of *//* default drivers. */
error = FT_New_Library( memory, alibrary );
if ( error )
FT_Done_Memory( memory );
elseFT_Add_Default_Modules( *alibrary );
returnerror;
}
Generated on Sun May 27 2012 05:59:50 for ReactOS by
1.7.6.1
ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.