[Mono-devel-list] Embedding API changes

Peter Williams peter at newton.cx
Sun Jun 20 17:39:39 EDT 2004

Hi Paolo,

On Sat, 2004-06-19 at 13:47, Paolo Molaro wrote:
> I may have missed a few needed accessors or helper methods that could be
> useful for embedders: feel free to mail to the list or file bug reports,
> so that I can add them before the mono 1.0 release.
> People may also want to take a look at the new test in
> mono/sameples/embed/test-metadata.c, where simple uses of the new API 
> is showed.

It looks like there are a few things relating to MonoVTables:

* IN metadata/object.h there are #defines of mono_object_class and
mono_object_domain that look like


MonoVTable is now opaque so I don't think the second dereference will
work. (Haven't tested it but seems pretty clear-cut.)

* In general, there don't seem to be any accessors for MonoVTable
pointers; I ran into this trying to compile debugger/wrapper/wrapper.c


Peter Williams                          peter at newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power

More information about the Mono-devel-list mailing list