[Mono-bugs] [Bug 428217] Possible class marshalling error
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Sep 22 07:03:00 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=428217
User Dax at daxxfiles.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=428217#c3
--- Comment #3 from - - <Dax at daxxfiles.net> 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.
More information about the mono-bugs
mailing list