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.
16 lines
287 B
C++
16 lines
287 B
C++
5 years ago
|
#include "common.hpp"
|
||
|
#include "service/address.hpp"
|
||
|
|
||
|
namespace llarp
|
||
|
{
|
||
|
namespace service
|
||
|
{
|
||
|
void
|
||
|
Address_Init(py::module & mod)
|
||
|
{
|
||
|
py::class_<Address>(mod, "ServiceAddress")
|
||
|
.def(py::init<std::string>())
|
||
|
.def("__str__", &Address::ToString);
|
||
|
}
|
||
|
}
|
||
|
}
|