diff options
| author | 2026-02-23 20:36:05 +0100 | |
|---|---|---|
| committer | 2026-02-23 20:36:05 +0100 | |
| commit | 052144cabb126efe925a96f8a0597a0f2005d206 (patch) | |
| tree | 4fd87244b9eef018b30e90fdff24c5b1a145a85e /test/external/metalang99/include/metalang99.h | |
| parent | 4e9020dfb847d80475415f9f5914efaa50238767 (diff) | |
add metalang99 testsuite (preprocessor stress testing)
Diffstat (limited to 'test/external/metalang99/include/metalang99.h')
| -rw-r--r-- | test/external/metalang99/include/metalang99.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/external/metalang99/include/metalang99.h b/test/external/metalang99/include/metalang99.h new file mode 100644 index 0000000..714c525 --- /dev/null +++ b/test/external/metalang99/include/metalang99.h @@ -0,0 +1,33 @@ +#ifndef ML99_H +#define ML99_H + +#if defined(_MSVC_TRADITIONAL) && _MSVC_TRADITIONAL +#error Please, specify /Zc:preprocessor to enable a standard-compliant C99/C++11 preprocessor. +#endif + +#include <metalang99/assert.h> +#include <metalang99/bool.h> +#include <metalang99/choice.h> +#include <metalang99/either.h> +#include <metalang99/gen.h> +#include <metalang99/ident.h> +#include <metalang99/lang.h> +#include <metalang99/list.h> +#include <metalang99/maybe.h> +#include <metalang99/nat.h> +#include <metalang99/seq.h> +#include <metalang99/stmt.h> +#include <metalang99/tuple.h> +#include <metalang99/util.h> +#include <metalang99/variadics.h> + +#define ML99_MAJOR 1 +#define ML99_MINOR 13 +#define ML99_PATCH 5 + +#define ML99_VERSION_COMPATIBLE(x, y, z) \ + (ML99_MAJOR == (x) && ((ML99_MINOR == (y) && ML99_PATCH >= (z)) || (ML99_MINOR > (y)))) + +#define ML99_VERSION_EQ(x, y, z) (ML99_MAJOR == (x) && ML99_MINOR == (y) && ML99_PATCH == (z)) + +#endif // ML99_H |