py_eval method

bool py_eval(
  1. Pointer<Char> source,
  2. py_Ref module
)

Evaluate a source string. Equivalent to py_exec(source, "<string>", EVAL_MODE, module).

Implementation

bool py_eval(
  ffi.Pointer<ffi.Char> source,
  py_Ref module,
) {
  return _py_eval(
    source,
    module,
  );
}