AFAIK MonoObject is the pointer to the object in the heap, so you just have to compare the pointers.
Jonathan On Thu, Mar 20, 2014 at 7:31 PM, [email protected] < [email protected]> wrote: > What is the bet way to determine if successive MonoObject * pointers refer > to the same managed object? > > Currently I use mono_object_hash(monoObject). > Is that the best approach? > > My unmanaged code triggers and receives events. > I need to be able to identify if the MonoObject that triggers the event > appears as the event sender. > > Jonathan > > > > > > > > > > > > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > -- Thanks, Jonathan
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
