Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/pluginplay/property_type/macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@
inline auto prop_type<__VA_ARGS__>::results_()

#define EXPORT_PROPERTY_TYPE(prop_type, m) \
pybind11::module_::import("pluginplay"); \
pybind11::class_<prop_type>(m, #prop_type) \
.def(pybind11::init<>()) \
.def("type", \
Expand Down
1 change: 1 addition & 0 deletions include/pluginplay/python/py_type_info.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

#pragma once
#include <optional>
#include <string>
#include <typeindex>

namespace pluginplay::python {
Expand Down
1 change: 1 addition & 0 deletions src/python/export_pluginplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
namespace pluginplay {

PYBIND11_MODULE(pluginplay, m) {
m.doc() = "PyPluginPlay: Python bindings for PluginPlay";
any::export_any(m);
export_cache(m);
export_fields(m);
Expand Down
2 changes: 2 additions & 0 deletions src/python/module_manager/export_module_manager_class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ void export_module_manager_class(py_module_reference m) {
using py_obj = pybind11::object;
using python::PythonWrapper;

py_module_type::import("parallelzone"); // For runtime interface

py_class_type<ModuleManager>(m, "ModuleManager")
.def(pybind11::init<>())
.def(pybind11::init([](runtime_type rv, cache_pointer cache) {
Expand Down