[Mlir-commits] [mlir] [MLIR] add C-API bindings for complex dialect (PR #173228)

Sergio Sánchez Ramírez llvmlistbot at llvm.org
Mon Dec 22 02:49:23 PST 2025


================
@@ -0,0 +1,51 @@
+//===-- mlir-c/Dialect/Complex.h - C API for Complex dialect ------*- C -*-===//
+//
+// Part of the LLVM Project, 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 MLIR_C_DIALECT_COMPLEX_H
+#define MLIR_C_DIALECT_COMPLEX_H
+
+#include "mlir-c/IR.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Func, func);
----------------
mofeing wrote:

Right 🤦‍♂️

https://github.com/llvm/llvm-project/pull/173228


More information about the Mlir-commits mailing list