aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-17 09:54:50 +0200
committerStefan Boberg <[email protected]>2021-09-17 09:54:50 +0200
commit6da25650aa4bf87dcd5e3d612c615e0b8240015f (patch)
treee23e686b6296e860a010b6e3fa580eea8481c185 /zencore/include
parentMoved zenserverprocess into zenutil/zenserverprocess.h (diff)
downloadzen-6da25650aa4bf87dcd5e3d612c615e0b8240015f.tar.xz
zen-6da25650aa4bf87dcd5e3d612c615e0b8240015f.zip
Added namespace scopes to more includes for better consistency
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/zencore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zencore/include/zencore/zencore.h b/zencore/include/zencore/zencore.h
index 54df7e85e..da17e61e3 100644
--- a/zencore/include/zencore/zencore.h
+++ b/zencore/include/zencore/zencore.h
@@ -150,12 +150,16 @@ char (&ZenArrayCountHelper(const T (&)[N]))[N + 1];
#define ZEN_NOT_IMPLEMENTED(...) ZEN_ASSERT(false, __VA_ARGS__)
#define ZENCORE_API // Placeholder to allow DLL configs in the future
+namespace zen {
+
ZENCORE_API bool IsPointerToStack(const void* ptr); // Query if pointer is within the stack of the currently executing thread
ZENCORE_API bool IsApplicationExitRequested();
ZENCORE_API void RequestApplicationExit(int ExitCode);
ZENCORE_API void zencore_forcelinktests();
+}
+
//////////////////////////////////////////////////////////////////////////
#if ZEN_COMPILER_MSC