https://bugzilla.novell.com/show_bug.cgi?id=428217

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=428217#c3





--- Comment #3 from - - <[EMAIL PROTECTED]>  2008-09-22 05:02:59 MDT ---
> Also, I think it would be much cleaner if you pass mpz_t_struct by-ref instead
of
> wrapping it in a class, i.e.

True, but then I would run into some serious problems with
Rational+RationalPartInteger sooner or later (as no Integer method except
Init() could be called without Pre/PostInvoke) and
Rational(Integer)/Float(Integer) (those would need to call PreInvoke too). The
way it is now, I can simply use Integer.Self for readonly access, regardless of
the actual type. Somehow, bot implementations (class, ref struct) don't strike
me as especially clean :/


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to