From: nisikimi Date: Tue, 8 Mar 2005 00:04:36 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-1-3-0~368 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e89bbf2d9cfaa495b68834bd393afe48967b555d;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/src/internal.h b/src/internal.h index 3354e29..f518924 100644 --- a/src/internal.h +++ b/src/internal.h @@ -245,19 +245,23 @@ typedef struct typedef struct { /**en Reference count of the object. */ + /**ja ¥ª¥Ö¥¸¥§¥¯¥È¤Î»²¾È¿ô. */ unsigned ref_count : 16; unsigned ref_count_extended : 1; /**en A flag bit used for various perpose. */ + /**ja ¤µ¤Þ¤¶¤Þ¤ÊÌÜŪ¤ËÍѤ¤¤é¤ì¤ë¥Õ¥é¥°¥Ó¥Ã¥È. */ unsigned flag : 15; union { /**en If is zero, a function to free the object. */ + /**ja ¤¬ 0 ¤Ê¤é¤Ð¥ª¥Ö¥¸¥§¥¯¥È¤ò²òÊü¤¹¤ë´Ø¿ô. */ void (*freer) (void *); /**en If is nonzero, a pointer to the struct M17NObjectRecord. */ + /**ja ¤¬ 0 ¤Ç¤Ê¤±¤ì¤Ð¹½Â¤ÂÎ M17NObjectRecord ¤Ø¤Î¥Ý¥¤¥ó¥¿. */ M17NObjectRecord *record; } u; } M17NObject; @@ -275,6 +279,7 @@ typedef struct /**en Increment the reference count of OBJECT if the count is not 0. */ +/**ja OBJECT ¤Î»²¾È¿ô¤¬ 0 ¤Ç¤Ê¤±¤ì¤Ð 1 Áý¤ä¤¹. */ #define M17N_OBJECT_REF(object) \ do { \ @@ -315,7 +320,9 @@ typedef struct /**en Decrement the reference count of OBJECT if the count is greater - than 0. In that case, if the count becomes 0, free OBJECT. */ + than 0. In that case, if the count becomes 0, free OBJECT. */ +/**ja OBJECT ¤Î»²¾È¿ô¤¬ 0 ¤è¤êÂ礭¤±¤ì¤Ð 1 ¸º¤é¤¹¡£¸º¤é¤·¤Æ 0 ¤Ë¤Ê¤ì¤Ð + OBJECT ¤ò²òÊü¤¹¤ë. */ #define M17N_OBJECT_UNREF(object) \ do { \