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.
19 lines
384 B
C++
19 lines
384 B
C++
#include <path/path.hpp>
|
|
|
|
#include "common.hpp"
|
|
#include <pybind11/operators.h>
|
|
|
|
namespace llarp
|
|
{
|
|
void
|
|
PathTypes_Init(py::module& mod)
|
|
{
|
|
py::class_<PathID_t>(mod, "PathID")
|
|
.def(py::self == py::self)
|
|
.def("ShortHex", &PathID_t::ShortHex)
|
|
.def("__str__", &PathID_t::ShortHex)
|
|
.def("__repr__", &PathID_t::ShortHex);
|
|
}
|
|
|
|
} // namespace llarp
|