114c92070SAlex Zinenko //===- PythonTestCAPI.h - C API for the PythonTest dialect ------*- C++ -*-===//
214c92070SAlex Zinenko //
314c92070SAlex Zinenko // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
414c92070SAlex Zinenko // See https://llvm.org/LICENSE.txt for license information.
514c92070SAlex Zinenko // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
614c92070SAlex Zinenko //
714c92070SAlex Zinenko //===----------------------------------------------------------------------===//
814c92070SAlex Zinenko 
914c92070SAlex Zinenko #ifndef MLIR_TEST_PYTHON_LIB_PYTHONTESTCAPI_H
1014c92070SAlex Zinenko #define MLIR_TEST_PYTHON_LIB_PYTHONTESTCAPI_H
1114c92070SAlex Zinenko 
12*5e83a5b4SStella Laurenzo #include "mlir-c/IR.h"
1314c92070SAlex Zinenko 
1414c92070SAlex Zinenko #ifdef __cplusplus
1514c92070SAlex Zinenko extern "C" {
1614c92070SAlex Zinenko #endif
1714c92070SAlex Zinenko 
1814c92070SAlex Zinenko MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(PythonTest, python_test);
1914c92070SAlex Zinenko 
2089a92fb3SAlex Zinenko MLIR_CAPI_EXPORTED bool
2189a92fb3SAlex Zinenko mlirAttributeIsAPythonTestTestAttribute(MlirAttribute attr);
2289a92fb3SAlex Zinenko 
2389a92fb3SAlex Zinenko MLIR_CAPI_EXPORTED MlirAttribute
2489a92fb3SAlex Zinenko mlirPythonTestTestAttributeGet(MlirContext context);
2589a92fb3SAlex Zinenko 
2689a92fb3SAlex Zinenko MLIR_CAPI_EXPORTED bool mlirTypeIsAPythonTestTestType(MlirType type);
2789a92fb3SAlex Zinenko 
2889a92fb3SAlex Zinenko MLIR_CAPI_EXPORTED MlirType mlirPythonTestTestTypeGet(MlirContext context);
2989a92fb3SAlex Zinenko 
3014c92070SAlex Zinenko #ifdef __cplusplus
3114c92070SAlex Zinenko }
3214c92070SAlex Zinenko #endif
3314c92070SAlex Zinenko 
3414c92070SAlex Zinenko #endif // MLIR_TEST_PYTHON_LIB_PYTHONTESTCAPI_H
35