|
@ -1,10 +1,14 @@ |
|
|
#include "common.h"
|
|
|
#include "common.h"
|
|
|
#include "helpers.h"
|
|
|
#include "helpers.h"
|
|
|
|
|
|
|
|
|
#include "info/info.h"
|
|
|
|
|
|
|
|
|
#include <src/utility/storm-version.h>
|
|
|
|
|
|
|
|
|
PYBIND11_PLUGIN(info) { |
|
|
PYBIND11_PLUGIN(info) { |
|
|
py::module m("stormpy.info", "stormpy info handling"); |
|
|
|
|
|
define_info(m); |
|
|
|
|
|
|
|
|
py::module m("stormpy.info", "Storm information"); |
|
|
|
|
|
py::class_<storm::utility::StormVersion>(m, "Version", "Version information for Storm") |
|
|
|
|
|
.def("short", &storm::utility::StormVersion::shortVersionString, "Storm version in short representation") |
|
|
|
|
|
.def("long", &storm::utility::StormVersion::longVersionString, "Storm version in long representation") |
|
|
|
|
|
.def("build_info", &storm::utility::StormVersion::buildInfo, "Build info for Storm") |
|
|
|
|
|
; |
|
|
return m.ptr(); |
|
|
return m.ptr(); |
|
|
} |
|
|
} |