From ece766ee7e22358378eead26bb54f27601b02e2b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 10 Apr 2013 23:52:07 +0000 Subject: code cleanup: unused defines, remove unused scanfill success value from BLI_scanfill_begin(). --- source/blender/blenlib/BLI_scanfill.h | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) (limited to 'source/blender/blenlib/BLI_scanfill.h') diff --git a/source/blender/blenlib/BLI_scanfill.h b/source/blender/blenlib/BLI_scanfill.h index ce2c6a4252f..0cbd4ee70b1 100644 --- a/source/blender/blenlib/BLI_scanfill.h +++ b/source/blender/blenlib/BLI_scanfill.h @@ -107,31 +107,14 @@ enum { * when this flag is set, we'll never get back more faces then (totvert - 2) */ BLI_SCANFILL_CALC_HOLES = (1 << 2) }; - -int BLI_scanfill_begin(ScanFillContext *sf_ctx); -int BLI_scanfill_calc(ScanFillContext *sf_ctx, const int flag); -int BLI_scanfill_calc_ex(ScanFillContext *sf_ctx, const int flag, - const float nor_proj[3]); +void BLI_scanfill_begin(ScanFillContext *sf_ctx); +int BLI_scanfill_calc(ScanFillContext *sf_ctx, const int flag); +int BLI_scanfill_calc_ex(ScanFillContext *sf_ctx, const int flag, + const float nor_proj[3]); void BLI_scanfill_end(ScanFillContext *sf_ctx); /* These callbacks are needed to make the lib finction properly */ - -/** - * Set a function taking a (char *) as argument to flag errors. If the - * callback is not set, the error is discarded. - * \param f The function to use as callback - * \attention used in creator.c - */ void BLI_setErrorCallBack(void (*f)(const char *)); - -/** - * Set a function to be able to interrupt the execution of processing - * in this module. If the function returns true, the execution will - * terminate gracefully. If the callback is not set, interruption is - * not possible. - * \param f The function to use as callback - * \attention used in creator.c - */ void BLI_setInterruptCallBack(int (*f)(void)); #ifdef __cplusplus -- cgit v1.2.3