Qingfeng Xia

Results 24 comments of Qingfeng Xia

Thank you, I may try debug it again. I just do not understand, what is external type and external return decl. The different on `set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)` and __dllspec(export).

My understanding is: On every platform, clang is used to parse c++ headers, libraries files, not per-platform G++/MSVC compilers. So, on Windows, MingW32 ABI is not supported. I just add...

ah, I am not familiar with C# build system, not even know there is such an option for all projects. not sure if `dotnet build` will look into that `https://github.com/mono/CppSharp/blob/master/Directory.Build.props#L4`

Great! thank you. At the meantime, I will show how to further tweak the generated binding using Roslyn API on C# side.

Here is my postprocessing fix, now almost manual fix can be avoided https://bitbucket.org/qingfengxia/moabsharp/src/dev/MOABSharpFix/Program.cs perhaps we can close this information thread.

Great, thank you for prompt reply. Your reply has clarified a lot, those may go to official doc, which may already there, yet found by me. I may later post...

Looking forwards to such a splendid feature, that will surely simply the workflow! regarding, my compiling error. It seems CppShart try to inject a new method `string.__CreateInstance(new __IntPtr(__ptr));` into System.string...

It could be possible for C-library, but not for C++ library. ``` [SuppressUnmanagedCodeSecurity, DllImport("MOAB", EntryPoint = "imoab_initialize", CallingConvention = __CallingConvention.Cdecl)] internal static extern int Initialize(int argc, sbyte** argv); ``` The...

I believe it is possible to target on dotnet core 5 for the C ABI library

I had problem to run build.sh on windows git-bash.exe. unix2does build.sh does not help. Later I found, I must delete the old cppsharp repo, and clean git clone, otherwise some...