From 746a974863856b1ede08bdf44113f57b64022304 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 11 Oct 2004 01:00:11 +0000 Subject: [PATCH] (struct MFontDriver): Change prototype of . --- src/font.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/font.h b/src/font.h index 5c9f0be..54c75d1 100644 --- a/src/font.h +++ b/src/font.h @@ -187,9 +187,12 @@ struct MFontDriver MGlyphString *gstring, MGlyph *from, MGlyph *to, int reverse, MDrawRegion region); - /** Push to PLIST a list of fonts matching with FONT. LANGUAGE, if - not Mnil, limits fonts to ones that support LANGUAGE. */ - void (*list) (MFrame *frame, MPlist *plist, MFont *font, MSymbol language); + /** Push to PLIST fonts matching with FONT. LANGUAGE, if not Mnil, + limits fonts to ones that support LANGUAGE. MAXNUM if greater + than 0 limits the number of listed fonts. Return how many fonts + a listed. */ + int (*list) (MFrame *frame, MPlist *plist, MFont *font, MSymbol language, + int maxnum); }; /** Initialize the members of FONT. */ -- 1.7.10.4