summaryrefslogtreecommitdiff
path: root/asl/assert.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-10-02 23:47:54 +0200
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-12-20 15:35:58 +0100
commit85462f25d6335bcca9423b6fc1e624d9a76a2375 (patch)
treef2bac09a057573ff745de6dfd7b80fcd90ac8885 /asl/assert.hpp
parent80b18cc979fcb1e772e5b7c7d45aa72602d461d7 (diff)
More work on option again
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(); }