Line data Source code
1 : // SPDX-FileCopyrightText: 2025 Pairinteraction Developers 2 : // SPDX-License-Identifier: LGPL-3.0-or-later 3 : 4 : #include "./FloatType.py.hpp" 5 : 6 : #include "pairinteraction/enums/FloatType.hpp" 7 : 8 : #include <nanobind/nanobind.h> 9 : 10 : namespace nb = nanobind; 11 : using namespace pairinteraction; 12 : 13 1 : void bind_float_type(nb::module_ &m) { 14 2 : nb::enum_<FloatType>(m, "FloatType") 15 1 : .value("FLOAT32", FloatType::FLOAT32) 16 : .value("FLOAT64", FloatType::FLOAT64); 17 1 : }