Skip to content

Conversation

svenzik
Copy link

@svenzik svenzik commented Apr 30, 2025

WE2-1073

Signed-off-by: Sven Mitt [email protected]

How to test:

Install swig and all dependencies. Use macOS and run

cmake --preset macos -DCMAKE_BUILD_TYPE=RelWithDebInfo && cmake --build --preset macos

Test result with:

grep DllImport ./build/macos/src/csharp/digidocPINVOKE.cs | sed -e 's/, Entry.*/.../g'|sort|uniq

Should be:
[global::System.Runtime.InteropServices.DllImport("digidoc"...
[global::System.Runtime.InteropServices.DllImport("libdigidoc_csharp"...
[global::System.Runtime.InteropServices.DllImport("libdigidoc_csharp"...

…efix in macOS. This commit fixes the generated code to global::System.Runtime.InteropServices.DllImport("libdigidoc_csharp",...

WE2-1073

Signed-off-by: Sven Mitt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants