Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method `mono_type_is_generic_parameter ` is not exposed in shared libraries #14005

xoarinn opened this issue Apr 12, 2019 · 0 comments · Fixed by #14012


Copy link

@xoarinn xoarinn commented Apr 12, 2019

Hi all. I was recently toying around with the Mono embedding API and noticed mono_type_is_generic_parameter does not have the MONO_API macro applied, causing it to not be exported in shared libraries.

I assumed that this was not intended behavior as the function is used in the macro MONO_CLASS_IS_INTERFACE, hence why I am reporting the issue here.

Steps to Reproduce

  1. Create a project that links to Mono's shared binaries
  2. Add a call to mono_type_is_generic_parameter somewhere and compile
  3. Notice the "unresolved external symbol" linker error

On which platforms did you notice this

[ ] macOS
[ ] Linux
[X] Windows

Version Used:

lambdageek added a commit to lambdageek/mono that referenced this issue Apr 12, 2019
Used by the MONO_CLASS_IS_INTERFACE macro.

Fixes mono#14005
marek-safar added a commit that referenced this issue May 31, 2019
Used by the MONO_CLASS_IS_INTERFACE macro.

Fixes #14005
EgorBo added a commit to EgorBo/mono that referenced this issue Jun 3, 2019
Used by the MONO_CLASS_IS_INTERFACE macro.

Fixes mono#14005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.