py_binaryop method

bool py_binaryop(
  1. py_Ref lhs,
  2. py_Ref rhs,
  3. py_Name op,
  4. py_Name rop,
)

Perform a binary operation. The result will be set to py_retval(). The stack remains unchanged after the operation.

Implementation

bool py_binaryop(
  py_Ref lhs,
  py_Ref rhs,
  py_Name op,
  py_Name rop,
) {
  return _py_binaryop(
    lhs,
    rhs,
    op,
    rop,
  );
}