mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-bigint: separate mpz and bint functions; ref #6371
The pull-request #6371 was tight integration of mpz and bint functions. The mpz functions take `struct RBigint*` instead of `mpz_t*`. It decrease maintainability, in my opinion. This commit initializes `mpz_t` from `struct RBigint*` in bint functions, so that we can keep separation of function roles.
This commit is contained in:
+603
-611
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user