summaryrefslogtreecommitdiffstats
path: root/src/Globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Globals.cpp')
-rw-r--r--src/Globals.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Globals.cpp b/src/Globals.cpp
index 5f32482..a3c7a0a 100644
--- a/src/Globals.cpp
+++ b/src/Globals.cpp
@@ -1,7 +1,7 @@
/*
-----------------------------------------------------------------------
-Copyright: 2010-2018, imec Vision Lab, University of Antwerp
- 2014-2018, CWI, Amsterdam
+Copyright: 2010-2021, imec Vision Lab, University of Antwerp
+ 2014-2021, CWI, Amsterdam
Contact: astra@astra-toolbox.com
Website: http://www.astra-toolbox.com/
@@ -43,11 +43,11 @@ _AstraExport bool cudaAvailable() {
static bool (*pShouldAbortHook)(void) = 0;
-void setShouldAbortHook(bool (*_pShouldAbortHook)(void)) {
+_AstraExport void setShouldAbortHook(bool (*_pShouldAbortHook)(void)) {
pShouldAbortHook = _pShouldAbortHook;
}
-bool shouldAbort() {
+_AstraExport bool shouldAbort() {
if (pShouldAbortHook && (*pShouldAbortHook)())
return true;