mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
Handle Py::Callable better.
This commit is contained in:
parent
23117f466b
commit
653d5a38ba
11 changed files with 46 additions and 37 deletions
|
|
@ -26,7 +26,7 @@
|
|||
/// \brief PythonArithmeticScript
|
||||
///
|
||||
/// @param script Python instance object implementing the script
|
||||
PythonArithmeticScript::PythonArithmeticScript(Py::Callable script) :
|
||||
PythonArithmeticScript::PythonArithmeticScript(Py::Object script) :
|
||||
m_script(std::move(script))
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue