You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using CppSharp 1.1.5.3168 and it generally works fine, given its limitations, but... there's one annoying bug where it generates the wrong return type for the following construct:
But this will, naturally, not fly. The return (string *) part there should be return (sbyte**). If I edit the generated code like this, it works perfectly, but it's a bit annoying to have to do this every time the interop code is regenerated. 🙂
If you can point me in the right direction in the codebase, I'm happy to attempt to provide a fix for this. Thanks for a nice tool. 🙏
The text was updated successfully, but these errors were encountered:
Hi,
I am using CppSharp
1.1.5.3168
and it generally works fine, given its limitations, but... there's one annoying bug where it generates the wrong return type for the following construct:This causes the following C# code to be generated:
But this will, naturally, not fly. The
return (string *)
part there should bereturn (sbyte**)
. If I edit the generated code like this, it works perfectly, but it's a bit annoying to have to do this every time the interop code is regenerated. 🙂If you can point me in the right direction in the codebase, I'm happy to attempt to provide a fix for this. Thanks for a nice tool. 🙏
The text was updated successfully, but these errors were encountered: