1 //===- Dialects.h - CAPI for dialects -----------------------------*- C -*-===// 2 // 3 // This file is licensed under the Apache License v2.0 with LLVM Exceptions. 4 // See https://llvm.org/LICENSE.txt for license information. 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 // 7 //===----------------------------------------------------------------------===// 8 9 #ifndef STANDALONE_C_DIALECTS_H 10 #define STANDALONE_C_DIALECTS_H 11 12 #include "mlir-c/IR.h" 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif 17 18 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(Standalone, standalone); 19 20 #ifdef __cplusplus 21 } 22 #endif 23 24 #endif // STANDALONE_C_DIALECTS_H 25