From 9244a27f9548a1d39fb01348fde66ff81f5150a4 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 12 Apr 2023 20:33:40 +0200 Subject: Refactor python related types into ledger::python namespace --- src/textual.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index 5276c92b..38142119 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -1257,7 +1257,7 @@ void instance_t::python_directive(char * line) python_session->initialize(); python_session->main_module->define_global - ("journal", python::object(python::ptr(context.journal))); + ("journal", boost::python::object(boost::python::ptr(context.journal))); python_session->eval(script.str(), python_interpreter_t::PY_EVAL_MULTI); } -- cgit v1.2.3