[Mono-list] Embedded API: MonoObject equality
Jonathan Lima
greenboxal at gmail.com
Thu Mar 20 22:56:15 UTC 2014
Thats why you can't save references to managed objects across function
calls.
Jonathan
On Thu, Mar 20, 2014 at 7:46 PM, jonathan at mugginsoft.com <
jonathan at mugginsoft.com> wrote:
>
> On 20 Mar 2014, at 22:43, Jonathan Lima <greenboxal at gmail.com> wrote:
>
> > AFAIK MonoObject is the pointer to the object in the heap, so you just
> have to compare the pointers.
> >
> > Jonathan
> >
> I think that if the MonoObject instance isn't pinned then there is no
> guarantee that successive unmanaged pointers to a managed object will have
> the same value.
>
> J
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
Thanks,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140320/c0a2d554/attachment.html>
More information about the Mono-list
mailing list