summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2021-10-11 09:56:50 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2021-10-11 09:56:56 +0200
commit50025b3301c0148e162be2bf15d94908617ad747 (patch)
tree7962083e59cf05bfb9af17ce41b827aadb447a38 /src
parentd79ea50cc33cd67650c044365f8dcba21e01072b (diff)
downloadastra-50025b3301c0148e162be2bf15d94908617ad747.tar.gz
astra-50025b3301c0148e162be2bf15d94908617ad747.tar.bz2
astra-50025b3301c0148e162be2bf15d94908617ad747.tar.xz
astra-50025b3301c0148e162be2bf15d94908617ad747.zip
Fix Windows exports
Diffstat (limited to 'src')
-rw-r--r--src/Globals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Globals.cpp b/src/Globals.cpp
index 5f32482..3edd877 100644
--- a/src/Globals.cpp
+++ b/src/Globals.cpp
@@ -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;