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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CppSharp.Runtime.UTF8Marshaller Included in generated source #1833
Comments
Any update?? Same question, why [SuppressUnmanagedCodeSecurity, DllImport("gif", EntryPoint = "EGifOpenFileName", CallingConvention = __CallingConvention.Cdecl)]
internal static extern __IntPtr EGifOpenFileName([MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(CppSharp.Runtime.UTF8Marshaller))] string GifFileName, bool GifTestExistence, int* Error); Can I only use @see https://learn.microsoft.com/en-us/dotnet/framework/interop/default-marshalling-for-strings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief Description
I'm trying to following the only example I could find here and I'm getting generated output. However, the generated source is depending on
CppSharp
theStd.cs
fileOS: Windows / OS X / Linux (include version and/or distro)
Linux, Ubuntu 22.04
Used headers
Used settings
Compiler
Target: gcc
Language
C++11
Stack trace or incompilable generated code
from generated code:
################################################################################
Not seeing why any reference to
CppSharp
should be included in codegen output, but I'm guessing it's some dumb error I'm making. Any help much appreciated!!!! Also, if you know of a solid example repo I can adapt, I'd be more than happy to try and reproduce off of that.The text was updated successfully, but these errors were encountered: