[Mono-dev] Embedding API change for 4.4: mono_class_from_generic_parameter

Andi McClure andi.mcclure at xamarin.com
Mon Nov 16 22:46:11 UTC 2015


This is a heads-up that a function exposed to the embedding API is changing
with this pull request:

https://github.com/mono/mono/pull/2237

…targeting master, which as I understand will become 4.4. The change is to
method:

    mono_class_from_generic_parameter (MonoGenericParam *param, MonoImage
*image, gboolean is_mvar)

The "image" and "is_mvar" arguments to this function previously had no
documented function, but in practice would influence the allocation source
(and some metadata) of the generated class when the MonoGenericParam
provided is anonymous. The new documented functionality is that these final
two params are ignored. (The allocation/metadata is now determined
automatically.)

It seems unlikely anyone was relying on the old, fairly obscure behavior,
but I just wanted to notify the list in case someone out there is using the
function.

- Andi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20151116/16a235f5/attachment.html>


More information about the Mono-devel-list mailing list