mirror of https://github.com/oxen-io/lokinet
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.
13 lines
275 B
C++
13 lines
275 B
C++
5 years ago
|
#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);
|
||
|
}
|
||
|
}
|