From 85462f25d6335bcca9423b6fc1e624d9a76a2375 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 2 Oct 2024 23:47:54 +0200 Subject: More work on option again --- asl/assert.hpp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 asl/assert.hpp (limited to 'asl/assert.hpp') 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(); } -- cgit