MCPcopy Create free account
hub / github.com/AimRT/AimRT / ExportVersion

Function ExportVersion

src/runtime/python_runtime/export_version.h:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace aimrt::runtime::python_runtime {
11
12inline 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

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected