diff options
author | Nobuyoshi Nakada <[email protected]> | 2020-05-30 18:34:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2020-07-01 22:41:15 +0900 |
commit | 254bed302752a401b5fcc3b6c65a9c93711d91d6 (patch) | |
tree | 7306701d64687caef2e5712c232ca82353d2872c /internal/rational.h | |
parent | 53d2bfd540c1c9b1038c0b1150b2f397e54b0322 (diff) |
Renamed `nurat_sub` compliant with `rb_rational_plus`
Diffstat (limited to 'internal/rational.h')
-rw-r--r-- | internal/rational.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/rational.h b/internal/rational.h index 2171a4e997..99c5eec8cb 100644 --- a/internal/rational.h +++ b/internal/rational.h @@ -27,6 +27,7 @@ struct RRational { VALUE rb_rational_canonicalize(VALUE x); VALUE rb_rational_uminus(VALUE self); VALUE rb_rational_plus(VALUE self, VALUE other); +VALUE rb_rational_minus(VALUE self, VALUE other); VALUE rb_rational_mul(VALUE self, VALUE other); VALUE rb_lcm(VALUE x, VALUE y); VALUE rb_rational_reciprocal(VALUE x); |