From 391d49c13ec675e263115d18481d4b842622b712 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 12 Jun 2018 14:24:59 +0200 Subject: Add nextpnr namespace Signed-off-by: Clifford Wolf --- common/pybindings.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common/pybindings.cc') diff --git a/common/pybindings.cc b/common/pybindings.cc index d941436b..8aa831ca 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -25,6 +25,8 @@ #include +NEXTPNR_NAMESPACE_BEGIN + // Required to determine concatenated module name (which differs for different // archs) #define PASTER(x, y) x##_##y @@ -64,7 +66,6 @@ Design load_design_shim(std::string filename, ChipArgs args) BOOST_PYTHON_MODULE(MODULE_NAME) { class_("GraphicElement") - .def_readwrite("style", &GraphicElement::style) .def_readwrite("type", &GraphicElement::type) .def_readwrite("x1", &GraphicElement::x1) .def_readwrite("y1", &GraphicElement::y1) @@ -178,3 +179,5 @@ void execute_python_file(const char *python_file) std::cout << "Error in Python: " << perror_str << std::endl; } } + +NEXTPNR_NAMESPACE_END -- cgit v1.2.3