1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/pybind/common.hpp

48 lines
766 B
C++
Raw Normal View History

2020-01-17 14:22:08 +01:00
#pragma once
#include <pybind11/pybind11.h>
2020-02-28 03:19:47 +01:00
#include <pybind11/stl.h>
2020-01-17 14:22:08 +01:00
namespace py = pybind11;
2020-02-28 03:19:47 +01:00
/*
namespace pybind11
{
namespace detail
{
template<typename T>
struct type_caster<nonstd::optional<T>>
: public optional_caster<nonstd::optional<T>> {};
template <typename CharT, class Traits>
struct type_caster<simple_string_view>
: string_caster<simple_string_view, true> {};
} // namespace pybind11::detail
} // namespace pybind11
*/
2020-01-17 14:22:08 +01:00
namespace llarp
{
void
Context_Init(py::module &mod);
2020-01-17 16:06:08 +01:00
void
CryptoTypes_Init(py::module &mod);
2020-01-17 14:22:08 +01:00
void
RouterContact_Init(py::module &mod);
2020-02-27 23:05:25 +01:00
void
Config_Init(py::module & mod);
2020-01-17 14:22:08 +01:00
} // namespace llarp
2020-02-27 22:30:45 +01:00
namespace tooling
{
void
RouterHive_Init(py::module & mod);
2020-02-28 03:19:47 +01:00
void
RouterEvent_Init(py::module & mod);
}