| Tomoe Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
struct TomoeCandidate; TomoeCandidate * tomoe_candidate_new (TomoeChar *chr); TomoeChar * tomoe_candidate_get_char (TomoeCandidate *cand); void tomoe_candidate_set_score (TomoeCandidate *cand,gint score); gint tomoe_candidate_get_score (TomoeCandidate *cand); gint tomoe_candidate_compare (const TomoeCandidate *a,const TomoeCandidate *b);
struct TomoeCandidate;
The TomoeCandidate struct contains only private fields and should not be directly accessed.
gint tomoe_candidate_compare (const TomoeCandidate *a,const TomoeCandidate *b);
Compare two TomoeCandidate.
|
1st TomoeCandidate object to compare. |
|
2nd TomoeCandidate object to compare. |
Returns : |
-1 a < b, 0 a= b, 1 a > b |