You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/pybind/llarp/config.cpp

13 lines
275 B
C++

#include "common.hpp"
#include "config/config.hpp"
namespace llarp
{
void
Config_Init(py::module & mod)
{
using Config_ptr = std::shared_ptr<Config>;
py::class_<Config, Config_ptr>(mod, "Config")
.def(py::init<>())
.def("LoadFile", &Config::Load);
}
}