aboutsummaryrefslogtreecommitdiff
path: root/src/common.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-06-22 23:07:20 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-06-22 23:07:20 +0200
commite4d068f1229df9a64bd37dd4a4fd0d61bad085bb (patch)
tree14eb905c2de9e82a497a6901bc26d5e4148b206e /src/common.h
parent6f6c827172b69d379682d197232c7bb155a1ffa1 (diff)
Various codegen work
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h
index 6a142f7..7030e4b 100644
--- a/src/common.h
+++ b/src/common.h
@@ -17,4 +17,6 @@
# include <stdio.h>
#endif
+#define MPQ_IS_INIT(x) (mpq_denref(x)->_mp_d != NULL)
+
#endif /* !ORYX_COMMON_H */