Open DavidBriant opened 3 years ago
Just if anyone else needs this, what I eventually did, as a temporary work around, was:
import deimos.python.abstract_ : PyObject_CallObject;
import deimos.python.object;
export PyObject* callFn(PyObject* fn, PyObject* args) {
return PyObject_CallObject(fn, args);
}
Just wanted to confirm that there's no way to call python from D at the moment? E.g.