aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/zencore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore/zencore.cpp')
-rw-r--r--src/zencore/zencore.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/zencore/zencore.cpp b/src/zencore/zencore.cpp
index 96d61a0ab..ae3d3934d 100644
--- a/src/zencore/zencore.cpp
+++ b/src/zencore/zencore.cpp
@@ -99,6 +99,12 @@ RequestApplicationExit(int ExitCode)
s_ApplicationExitRequested = true;
}
+int
+ApplicationExitCode()
+{
+ return s_ApplicationExitCode;
+}
+
#if ZEN_WITH_TESTS
void
zencore_forcelinktests()