From bb5cef2decc4b1787ba2caaeb24bcb07f2dbe77f Mon Sep 17 00:00:00 2001 From: nisikimi Date: Tue, 4 Mar 2008 06:14:35 +0000 Subject: [PATCH] *** empty log message *** --- src/coding.c | 3 ++- src/font.c | 9 ++++++--- src/input.c | 6 ++++-- src/language.c | 3 ++- src/mtext-wseg.c | 3 ++- src/mtext.c | 12 ++++++++---- src/symbol.c | 3 ++- 7 files changed, 26 insertions(+), 13 deletions(-) diff --git a/src/coding.c b/src/coding.c index 5b64635..182a6e1 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4141,7 +4141,8 @@ mconv_buffer_converter (MSymbol name, const unsigned char *buf, int n) $NAME can be #Mnil. In this case, a coding system associated with the current locale (LC_CTYPE) is used. - @return If the operation was successful, mconv_stream_converter () + @return + If the operation was successful, mconv_stream_converter () returns the created code converter. Otherwise it returns @c NULL and assigns an error code to the external variable #merror_code. */ diff --git a/src/font.c b/src/font.c index e85212a..e808593 100644 --- a/src/font.c +++ b/src/font.c @@ -2397,7 +2397,8 @@ mfont_copy (MFont *font) #Mfont_ascent, #Mfont_descent, #Mmax_advance. - @return If $KEY is @c Mfoundry, @c Mfamily, @c Mweight, @c Mstyle, + @return + If $KEY is @c Mfoundry, @c Mfamily, @c Mweight, @c Mstyle, @c Mstretch, @c Madstyle, @c Mregistry, or @c Mspacing, this function returns the corresponding value as a symbol. If the font does not have $KEY property, it returns @c Mnil. If $KEY is @c @@ -2417,7 +2418,8 @@ mfont_copy (MFont *font) @c Mfoundry, @c Mfamily, @c Mweight, @c Mstyle, @c Mstretch, @c Madstyle, @c Mregistry, @c Msize, @c Mresolution, @c Mspacing. - @return $KEY ¤¬ @c Mfoundry, @c Mfamily, @c Mweight, @c Mstyle, @c + @return + $KEY ¤¬ @c Mfoundry, @c Mfamily, @c Mweight, @c Mstyle, @c Mstretch, @c Madstyle, @c Mregistry, @c Mspacing ¤Î¤¤¤º¤ì¤«¤Ç¤¢¤ì¤Ð¡¢ ÁêÅö¤¹¤ëÃͤò¥·¥ó¥Ü¥ë¤È¤·¤ÆÊÖ¤¹¡£¥Õ¥©¥ó¥È¤¬¤½¤Î¥×¥í¥Ñ¥Æ¥£¤ò»ý¤¿¤Ê¤¤ ¾ì¹ç¤Ë¤Ï@c Mnil ¤òÊÖ¤¹¡£$KEY ¤¬ @c Msize ¤¢¤ë¤¤¤Ï @c Mresolution ¤Î @@ -3040,7 +3042,8 @@ mfont_list_family_names (MFrame *frame) The mfont_check () function checkes if $FONT can be used for $SCRIPT and $LANGUAGE in $FONTSET on $FRAME. - @return If the font is usable, return 1. Otherwise return 0. + @return + If the font is usable, return 1. Otherwise return 0. */ int diff --git a/src/input.c b/src/input.c index 635efb9..9b11762 100644 --- a/src/input.c +++ b/src/input.c @@ -4794,7 +4794,8 @@ minput_get_title_icon (MSymbol language, MSymbol name) ´Ø¿ô minput_get_description () ¤Ï¡¢$LANGUAGE ¤È $NAME ¤Ë¤è¤Ã¤Æ»ØÄê ¤µ¤ì¤¿ÆþÎϥ᥽¥Ã¥É¤òÀâÌÀ¤¹¤ë M-text ¤òÊÖ¤¹¡£ - @return »ØÄꤵ¤ì¤¿ÆþÎϥ᥽¥Ã¥É¤¬ÀâÌÀ¤¹¤ë¥Æ¥­¥¹¥È¤ò»ý¤Ã¤Æ¤¤¤ì¤Ð¡¢ + @return + »ØÄꤵ¤ì¤¿ÆþÎϥ᥽¥Ã¥É¤¬ÀâÌÀ¤¹¤ë¥Æ¥­¥¹¥È¤ò»ý¤Ã¤Æ¤¤¤ì¤Ð¡¢ #MText ¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£¸Æ¤Ó½Ð¤·Â¦¤Ï¡¢¤½¤ì¤ò m17n_object_unref () ¤òÍѤ¤¤Æ²òÊü¤·¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£ÆþÎϥ᥽¥Ã¥É¤ËÀâÌÀ¥Æ¥­¥¹¥È¤¬Ìµ¤± ¤ì¤Ð@c NULL ¤òÊÖ¤¹¡£ */ @@ -6193,7 +6194,8 @@ minput_get_commands (MSymbol language, MSymbol name) ¤³¤Î³ä¤êÅö¤Æ¤Ï¡¢³ä¤êÅö¤Æ°Ê¹ß¿·¤·¤¯¥ª¡¼¥×¥ó¤µ¤ì¤¿ÆþÎϥ᥽¥Ã¥É¤«¤éÍ­ ¸ú¤Ë¤Ê¤ë¡£ - @return ½èÍý¤¬À®¸ù¤¹¤ì¤Ð 0 ¤òÊÖ¤¹¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð -1 ¤òÊÖ¤·¡¢ + @return + ½èÍý¤¬À®¸ù¤¹¤ì¤Ð 0 ¤òÊÖ¤¹¡£¤½¤¦¤Ç¤Ê¤±¤ì¤Ð -1 ¤òÊÖ¤·¡¢ #merror_code ¤ò #MERROR_IM ¤ËÀßÄꤹ¤ë¡£ */ int diff --git a/src/language.c b/src/language.c index 0104a06..168a27e 100644 --- a/src/language.c +++ b/src/language.c @@ -734,7 +734,8 @@ mscript_list (void) $SCRIPT ¤Ï¥·¥ó¥Ü¥ë¤Ç¡¢¤½¤Î̾Á°¤Ï Unicode Character Database ¤Ë¼¨¤µ ¤ì¤Æ¤¤¤ë¥¹¥¯¥ê¥×¥È̾¤ò¤¹¤Ù¤Æ¾®Ê¸»ú¤Ë¤·¤¿¤â¤Î¤Ç¤¢¤ë¡£ - @return ¤³¤Î´Ø¿ô¤Ï¡¢À°·Á¼° (well-formed) plist ¤òÊÖ¤¹¡£³Æ¥­¡¼¤Ï + @return + ¤³¤Î´Ø¿ô¤Ï¡¢À°·Á¼° (well-formed) plist ¤òÊÖ¤¹¡£³Æ¥­¡¼¤Ï #Msymbol ¤Ç¤¢¤ê¡¢¸Ä¡¹¤ÎÃÍ¤Ï ISO639-1 ¤ËÄê¤á¤é¤ì¤¿2ʸ»ú¸À¸ì¥³¡¼¥É (ÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï ISO639-2 ¤ËÄê¤á¤é¤ì¤¿3ʸ»ú¸À¸ì¥³¡¼¥É) ¤ò̾ Á°¤È¤¹¤ë¥·¥ó¥Ü¥ë¤Ç¤¢¤ë¡£ÊÖ¤µ¤ì¤ë plist ¤ÏÊѹ¹¤·¤¿¤ê²òÊü¤·¤¿¤ê¤·¤Æ diff --git a/src/mtext-wseg.c b/src/mtext-wseg.c index 9b07198..9976128 100644 --- a/src/mtext-wseg.c +++ b/src/mtext-wseg.c @@ -363,7 +363,8 @@ mtext__wseg_fini () boundary position at or previous to POS, and update *TO to the word boundary position after POS. - @return If word boundaries were found successfully, return 1 (if + @return + If word boundaries were found successfully, return 1 (if the character at POS is a part of a word) or 0 (otherwise). If the operation was not successful, return -1 without setting *FROM and *TO. */ diff --git a/src/mtext.c b/src/mtext.c index 6da7170..cec0589 100644 --- a/src/mtext.c +++ b/src/mtext.c @@ -2270,7 +2270,8 @@ mtext_ncpy (MText *mt1, MText *mt2, int n) (exclusive) while inheriting all the text properties of $MT. $MT itself is not modified. - @return If the operation was successful, mtext_duplicate () + @return + If the operation was successful, mtext_duplicate () returns a pointer to the created M-text. If an error is detected, it returns NULL and assigns an error code to the external variable #merror_code. */ @@ -2481,7 +2482,8 @@ mtext_ins (MText *mt1, int pos, MText *mt2) On insertion, all the text properties of the sub-text of $MT2 are inherited. - @return If the operation was successful, mtext_insert () returns + @return + If the operation was successful, mtext_insert () returns 0. Otherwise, it returns -1 and assigns an error code to the external variable #merror_code. */ @@ -2633,7 +2635,8 @@ mtext_ins_char (MText *mt, int pos, int c, int n) of M-text $MT2 between $FROM2 (inclusive) and $TO2 (exclusive). The new sub-text inherits text properties of the old sub-text. - @return If the operation was successful, mtext_replace () returns + @return + If the operation was successful, mtext_replace () returns 0. Otherwise, it returns -1 and assigns an error code to the external variable #merror_code. */ @@ -2646,7 +2649,8 @@ mtext_ins_char (MText *mt, int pos, int c, int n) ¤­´¹¤¨¤ë¡£¿·¤·¤¯ÁÞÆþ¤µ¤ì¤¿Éôʬ¤Ï¡¢ÃÖ¤­´¹¤¨¤ëÁ°¤Î¥Æ¥­¥¹¥È¥×¥í¥Ñ¥Æ¥£ ¤¹¤Ù¤Æ¤ò·Ñ¾µ¤¹¤ë¡£ - @return ½èÍý¤¬À®¸ù¤¹¤ì¤Ð¡¢ mtext_replace () ¤Ï 0 ¤òÊÖ¤¹¡£¤½¤¦¤Ç¤Ê + @return + ½èÍý¤¬À®¸ù¤¹¤ì¤Ð¡¢ mtext_replace () ¤Ï 0 ¤òÊÖ¤¹¡£¤½¤¦¤Ç¤Ê ¤±¤ì¤Ð -1 ¤òÊÖ¤·¡¢³°ÉôÊÑ¿ô #merror_code ¤Ë¥¨¥é¡¼¥³¡¼¥É¤òÀßÄꤹ¤ë¡£ */ /*** diff --git a/src/symbol.c b/src/symbol.c index 0884332..f396bbc 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -483,7 +483,8 @@ msymbol_as_managing_key (const char *name) The msymbol_is_managing_key () function checks if the symbol $SYMBOL is a managing key or not. - @return Return 1 if the symbol is a managing key. Otherwise, + @return + Return 1 if the symbol is a managing key. Otherwise, return 0. */ int -- 1.7.10.4