| 10 | namespace aimrt::runtime::python_runtime { |
| 11 | |
| 12 | inline void ExportVersion(pybind11::object m) { |
| 13 | m.attr("AimRT_RUNTIME_VERSION_INT") = AIMRT_RUNTIME_VERSION_INT; |
| 14 | // This needs to be updated when the code generator is updated |
| 15 | // and backward compability is broken. |
| 16 | m.attr("AIMRT_MIN_GENCODE_VERSION_INT") = 10000; |
| 17 | } |
| 18 | |
| 19 | } // namespace aimrt::runtime::python_runtime |