py_equal method

int py_equal(
  1. py_Ref lhs,
  2. py_Ref rhs
)

Compare two objects. 1: lhs == rhs, 0: lhs != rhs, -1: error

Implementation

int py_equal(
  py_Ref lhs,
  py_Ref rhs,
) {
  return _py_equal(
    lhs,
    rhs,
  );
}