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

Pointers to managed types may break native build #7

Closed
AaronRobinsonMSFT opened this issue Apr 27, 2020 · 0 comments · Fixed by #39
Closed

Pointers to managed types may break native build #7

AaronRobinsonMSFT opened this issue Apr 27, 2020 · 0 comments · Fixed by #39
Labels
bug Something isn't working

Comments

@AaronRobinsonMSFT
Copy link
Owner

The type returned may not have a definition during compilation of the native binary.

public string GetPointerType(string elementType)
{
return elementType + "*";
}

Options:

  • Verify the type is a limited subset.
  • Forward declare the type.
  • Permit users to supply header files during compilation.
@AaronRobinsonMSFT AaronRobinsonMSFT changed the title Pointers to structs may break native build Pointers to managed types may break native build Apr 28, 2020
@AaronRobinsonMSFT AaronRobinsonMSFT added the bug Something isn't working label Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant