Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-06-26 07:42:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-26 07:42:45 +0400
commita050ddf2791f44e7997944b676f2af31a1e5556f (patch)
treeac1b557b21401ca65c482a1412d06caf3fb072d2 /source/blender
parent28e14794e7d6d41ab2ab5c8b1fff97bdb9d52507 (diff)
remove unused callback
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/BLI_scanfill.h1
-rw-r--r--source/blender/blenlib/intern/scanfill.c14
2 files changed, 0 insertions, 15 deletions
diff --git a/source/blender/blenlib/BLI_scanfill.h b/source/blender/blenlib/BLI_scanfill.h
index 0cbd4ee70b1..21197670640 100644
--- a/source/blender/blenlib/BLI_scanfill.h
+++ b/source/blender/blenlib/BLI_scanfill.h
@@ -115,7 +115,6 @@ void BLI_scanfill_end(ScanFillContext *sf_ctx);
/* These callbacks are needed to make the lib finction properly */
void BLI_setErrorCallBack(void (*f)(const char *));
-void BLI_setInterruptCallBack(int (*f)(void));
#ifdef __cplusplus
}
diff --git a/source/blender/blenlib/intern/scanfill.c b/source/blender/blenlib/intern/scanfill.c
index b6a86b86188..873ce302b9c 100644
--- a/source/blender/blenlib/intern/scanfill.c
+++ b/source/blender/blenlib/intern/scanfill.c
@@ -45,7 +45,6 @@
/* callbacks for errors and interrupts and some goo */
static void (*BLI_localErrorCallBack)(const char *) = NULL;
-static int (*BLI_localInterruptCallBack)(void) = NULL;
/**
* Set a function taking a (char *) as argument to flag errors. If the
@@ -58,19 +57,6 @@ void BLI_setErrorCallBack(void (*f)(const char *))
BLI_localErrorCallBack = f;
}
-/**
- * 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))
-{
- BLI_localInterruptCallBack = f;
-}
-
/* just flush the error to /dev/null if the error handler is missing */
void callLocalErrorCallBack(const char *msg)
{