summaryrefslogtreecommitdiff
path: root/mlir/test/python/lib/PythonTestCAPI.h
diff options
context:
space:
mode:
authorMaksim Levental <maksim.levental@gmail.com>2024-07-05 10:43:51 -0500
committerGitHub <noreply@github.com>2024-07-05 10:43:51 -0500
commit9315645834ea81cf9550364a4950f289e9706a26 (patch)
tree9e2b957f38e28514e8afc6dd7ba383e7930501d3 /mlir/test/python/lib/PythonTestCAPI.h
parent3bb25636414ee5b5eaf99c0bdcc191052c9d7ffb (diff)
[mlir][python] auto attribute casting (#97786)
Diffstat (limited to 'mlir/test/python/lib/PythonTestCAPI.h')
-rw-r--r--mlir/test/python/lib/PythonTestCAPI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mlir/test/python/lib/PythonTestCAPI.h b/mlir/test/python/lib/PythonTestCAPI.h
index 5f1ed3a5b2ad..43f8fdcbfae1 100644
--- a/mlir/test/python/lib/PythonTestCAPI.h
+++ b/mlir/test/python/lib/PythonTestCAPI.h
@@ -23,6 +23,8 @@ mlirAttributeIsAPythonTestTestAttribute(MlirAttribute attr);
MLIR_CAPI_EXPORTED MlirAttribute
mlirPythonTestTestAttributeGet(MlirContext context);
+MLIR_CAPI_EXPORTED MlirTypeID mlirPythonTestTestAttributeGetTypeID(void);
+
MLIR_CAPI_EXPORTED bool mlirTypeIsAPythonTestTestType(MlirType type);
MLIR_CAPI_EXPORTED MlirType mlirPythonTestTestTypeGet(MlirContext context);