py_smartexec method
Run a source string with smart interpretation.
Example:
py_newstr(py_r0(), "abc");
py_newint(py_r1(), 123);
py_smartexec("print(_0, _1)", NULL, py_r0(), py_r1());
// "abc 123" will be printed
.
Implementation
bool py_smartexec(
ffi.Pointer<ffi.Char> source,
py_Ref module,
) {
return _py_smartexec(
source,
module,
);
}