We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting a 'NativeTypeName could not be found' error after generating:
[DllImport("SketchUpAPI", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void SUGetAPIVersion([NativeTypeName("size_t *")] nuint* major, [NativeTypeName("size_t *")] nuint* minor);
Should I just create a NativeTypeNameAttribute class?
The text was updated successfully, but these errors were encountered:
Yes, you can manually define an attribute such as: https://github.com/microsoft/ClangSharp/blob/main/sources/ClangSharp/Internals/NativeTypeNameAttribute.cs
Happy to take a PR that automatically creates this file as well 😄
Sorry, something went wrong.
NativeTypeName
#284 adds support for this via --config generate-helper-types.
--config generate-helper-types
Successfully merging a pull request may close this issue.
I'm getting a 'NativeTypeName could not be found' error after generating:
[DllImport("SketchUpAPI", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)] public static extern void SUGetAPIVersion([NativeTypeName("size_t *")] nuint* major, [NativeTypeName("size_t *")] nuint* minor);
Should I just create a NativeTypeNameAttribute class?
The text was updated successfully, but these errors were encountered: