xref: /llvm-project/mlir/test/python/lib/PythonTestCAPI.h (revision 14c9207063bb00823a5126131e50c93f6e288bd3)
1 //===- PythonTestCAPI.h - C API for the PythonTest dialect ------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, 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 MLIR_TEST_PYTHON_LIB_PYTHONTESTCAPI_H
10 #define MLIR_TEST_PYTHON_LIB_PYTHONTESTCAPI_H
11 
12 #include "mlir-c/Registration.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(PythonTest, python_test);
19 
20 #ifdef __cplusplus
21 }
22 #endif
23 
24 #endif // MLIR_TEST_PYTHON_LIB_PYTHONTESTCAPI_H
25