- Notifications
You must be signed in to change notification settings - Fork537
add: options for DllImport and LibraryImport#1862
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
kumja1 commentedAug 22, 2024
@dotnet-policy-service agree |
tritao commentedAug 29, 2024
The build is failing: CSharpTypePrinter.cs(612,65): error CS1001: Identifier expected [/home/runner/work/CppSharp/CppSharp/src/Generator/CppSharp.Generator.csproj] |
kumja1 commentedSep 2, 2024
@tritao How would i regenerate the bindings for the cpp parser |
tritao commentedSep 2, 2024
Checkhttps://github.com/mono/CppSharp/blob/main/src/CppParser/ParserGen/ParserGen.cs And might want to extracthttps://github.com/mono/CppSharp/releases/download/CppSharp/headers.zip into your bin folder to generate for all supported platforms. |
kumja1 commentedSep 5, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@tritao strings are typically utf16 in native code correct? or are they different depending on the platform(like wchar_t is utf32 on linux) |
tritao commentedSep 5, 2024
Yes they can be different depending on the platform or program. It can be set as an option:https://github.com/mono/CppSharp/blob/main/src/Generator/Options.cs#L189 |
Resolves issue#1687