Hiroyuki Ikezoe
ikezo****@users*****
2006年 11月 28日 (火) 15:40:32 JST
Index: tomoe/lib/tomoe-candidate.h diff -u tomoe/lib/tomoe-candidate.h:1.6 tomoe/lib/tomoe-candidate.h:1.7 --- tomoe/lib/tomoe-candidate.h:1.6 Mon Nov 27 17:59:22 2006 +++ tomoe/lib/tomoe-candidate.h Tue Nov 28 15:40:31 2006 @@ -18,11 +18,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-candidate.h,v 1.6 2006/11/27 08:59:22 kous Exp $ - */ - -/** @file tomoe-candidate.h - * @brief + * $Id: tomoe-candidate.h,v 1.7 2006/11/28 06:40:31 ikezoe Exp $ */ #ifndef __TOMOE_CANDIDATE_H__ @@ -64,12 +60,6 @@ gint tomoe_candidate_get_score (TomoeCandidate *cand); -/** - * @brief Compare two TomoeCandidate. - * @param a - 1st TomoeCandidate object to compare. - * @param b - 2nd TomoeCandidate object to compare. - * @return -1 a < b, 0 a= b, 1 a > b - */ gint tomoe_candidate_compare (const TomoeCandidate *a, const TomoeCandidate *b); Index: tomoe/lib/tomoe-candidate.c diff -u tomoe/lib/tomoe-candidate.c:1.7 tomoe/lib/tomoe-candidate.c:1.8 --- tomoe/lib/tomoe-candidate.c:1.7 Mon Nov 27 17:59:22 2006 +++ tomoe/lib/tomoe-candidate.c Tue Nov 28 15:40:31 2006 @@ -18,7 +18,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-candidate.c,v 1.7 2006/11/27 08:59:22 kous Exp $ + * $Id: tomoe-candidate.c,v 1.8 2006/11/28 06:40:31 ikezoe Exp $ */ #include "tomoe-candidate.h" @@ -208,6 +208,15 @@ return priv->score; } +/** + * tomoe_candidate_compare: + * @a: 1st TomoeCandidate object to compare. + * @b: 2nd TomoeCandidate object to compare. + * + * Compare two TomoeCandidate. + * + * Return value: -1 a < b, 0 a= b, 1 a > b + */ gint tomoe_candidate_compare (const TomoeCandidate *a, const TomoeCandidate *b) {