X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=score.c;h=894e8ca3deae39f21552a6cd331237551e9c7a1b;hb=d440a71683940a58747de6dc32643db452d9cf54;hp=823cf28d4d2604fa0ad71036611051d990a13f24;hpb=1333cbe28098842254160558af711fb83ffd2def;p=paraslash.git diff --git a/score.c b/score.c index 823cf28d..894e8ca3 100644 --- a/score.c +++ b/score.c @@ -189,8 +189,7 @@ int score_update(const struct osl_row *aft_row, long percent) * \param score Result pointer. * \param aft_row Result pointer. * - * \return Negative on errors, positive on success. Possible errors: Errors - * returned by osl_get_object(). + * \return Standard. */ int get_score_and_aft_row(struct osl_row *score_row, long *score, struct osl_row **aft_row) @@ -237,8 +236,7 @@ int admissible_file_loop(void *data, osl_rbtree_loop_func *func) * \param aft_row Points to the row in the aft of the "best" audio file. * \param score Highest score value in the score table. * - * \return Positive on success, negative on errors. Possible errors: Errors - * returned by osl_rbtree_last_row(), osl_get_object(). + * \return Standard. */ int score_get_best(struct osl_row **aft_row, long *score) { @@ -260,8 +258,7 @@ int score_get_best(struct osl_row **aft_row, long *score) * * \param aft_row The file which is no longer admissible. * - * \return Positive on success, negative on errors. Possible errors: - * Errors returned by osl_get_row() and osl_del_row(). + * \return Standard. * * \sa \ref score_add(). */ @@ -302,20 +299,12 @@ int row_belongs_to_score_table(const struct osl_row *aft_row, unsigned *rank) return 1; } -/* Close the score table. */ static void score_close(void) { osl_close_table(score_table, OSL_FREE_VOLATILE); score_table = NULL; } -/** - * Open the score table. - * - * \param dir Unused. - * - * \return The return value of the underlying call to osl_open_table(). - */ static int score_open(__a_unused const char *dir) { score_table_desc.dir = NULL; /* this table has only volatile columns */