pairinteraction
A Rydberg Interaction Calculator
version.py.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2024 Pairinteraction Developers
2// SPDX-License-Identifier: LGPL-3.0-or-later
3
4#include "./version.py.hpp"
5
7
8#include <nanobind/nanobind.h>
9
10namespace nb = nanobind;
11using namespace pairinteraction;
12
13void bind_version(nb::module_ &m) {
14 m.attr("VERSION_MAJOR") = pairinteraction::VERSION_MAJOR;
15 m.attr("VERSION_MINOR") = pairinteraction::VERSION_MINOR;
16 m.attr("VERSION_PATCH") = pairinteraction::VERSION_PATCH;
17}
constexpr int VERSION_MINOR
Definition: version.hpp:9
constexpr int VERSION_PATCH
Definition: version.hpp:10
constexpr int VERSION_MAJOR
Definition: version.hpp:8
void bind_version(nb::module_ &m)
Definition: version.py.cpp:13