-
Notifications
You must be signed in to change notification settings - Fork 533
Closed
Description
I have the following simple method
void Test(char* output)
{
output = strdup("This is a test");
}
How can I make the generator produce something like:
internal static extern void Test_0(global::System.IntPtr instance, out string output);
Currently it produces something like:
internal static extern void Test_0(global::System.IntPtr instance, sbyte* output);
and if you add the following line to Preprocess
ctx.SetMethodParameterUsage("Foo", "Test", 1, ParameterUsage.Out);
it will produce
internal static extern void Test_0(global::System.IntPtr instance, out sbyte output);
Metadata
Metadata
Assignees
Labels
No labels