summaryrefslogtreecommitdiff
path: root/asl/assert.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'asl/assert.hpp')
-rw-r--r--asl/assert.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/asl/assert.hpp b/asl/assert.hpp
new file mode 100644
index 0000000..0c80d9c
--- /dev/null
+++ b/asl/assert.hpp
@@ -0,0 +1,5 @@
+#pragma once
+
+#define ASL_ASSERT(...) \
+ if (__VA_ARGS__) {} \
+ else { __debugbreak(); }