From: handa Date: Mon, 11 Oct 2004 01:00:11 +0000 (+0000) Subject: (struct MFontDriver): Change prototype of . X-Git-Tag: REL-1-2-0~140 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=746a974863856b1ede08bdf44113f57b64022304;p=m17n%2Fm17n-lib.git (struct MFontDriver): Change prototype of . --- 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. */