![]() |
![]() |
![]() |
Tomoe Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
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);
typedef struct _TomoeCandidate TomoeCandidate;
The TomoeCandidate struct contains only private fields and should not be directly accessed.
TomoeChar * tomoe_candidate_get_char (TomoeCandidate *cand);
|
|
Returns : |
void tomoe_candidate_set_score (TomoeCandidate *cand, gint score);
|
|
|
gint tomoe_candidate_get_score (TomoeCandidate *cand);
|
|
Returns : |
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 |