FT_Get_Multi_Master( FT_Face face, FT_Multi_Master *amaster ) { FT_Error error; FT_Service_MultiMasters service; error = ft_face_get_mm_service( face, &service ); if ( !error ) { error = FT_Err_Invalid_Argument; if ( service->get_mm ) error = service->get_mm( face, amaster ); } return error; }
FT_Get_Multi_Master( FT_Face face, FT_Multi_Master *amaster ) { FT_Error error; FT_Service_MultiMasters service; /* check of `face' delayed to `ft_face_get_mm_service' */ if ( !amaster ) return FT_THROW( Invalid_Argument ); error = ft_face_get_mm_service( face, &service ); if ( !error ) { error = FT_ERR( Invalid_Argument ); if ( service->get_mm ) error = service->get_mm( face, amaster ); } return error; }