[Mono-list] mono_set_corlib_data()

JarkkoL jarkko at profoundic.com
Thu May 26 02:27:54 EDT 2011


I would like to load mscorlib.dll from given memory buffer and noticed
there's mono_set_corlib_data() for the purpose. However, this is enabled
only when __native_client__ for the build is defined. Is there any
particular reason why this isn't enabled for __default_codegen__? There's
also no prototype for the function defined in assembly.h file. I removed the
#ifdefs in assembly.c and added the prototype and this seems to work in the
simple test case I have, but is there any side effects to be aware of?

Thanks, Jarkko

View this message in context: http://mono.1490590.n4.nabble.com/mono-set-corlib-data-tp3551740p3551740.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list