aboutsummaryrefslogtreecommitdiffstats
path: root/include/Standalone-c/Dialects.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Standalone-c/Dialects.h')
-rw-r--r--include/Standalone-c/Dialects.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/Standalone-c/Dialects.h b/include/Standalone-c/Dialects.h
new file mode 100644
index 0000000..b3e4775
--- /dev/null
+++ b/include/Standalone-c/Dialects.h
@@ -0,0 +1,24 @@
+//===- Dialects.h - CAPI for dialects -----------------------------*- C -*-===//
+//
+// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef STANDALONE_C_DIALECTS_H
+#define STANDALONE_C_DIALECTS_H
+
+#include "mlir-c/IR.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Standalone, standalone);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // STANDALONE_C_DIALECTS_H