We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2114c76 commit a98ed6dCopy full SHA for a98ed6d
crates/csharp/src/lib.rs
@@ -978,6 +978,8 @@ impl InterfaceGenerator<'_> {
978
}
979
};
980
981
+ let access = self.gen.access_modifier();
982
+
983
let extra_modifiers = extra_modifiers(func, &camel_name);
984
985
let interop_camel_name = func.item_name().to_upper_camel_case();
@@ -1106,7 +1108,7 @@ impl InterfaceGenerator<'_> {
1106
1108
uwrite!(
1107
1109
target,
1110
r#"
- internal {extra_modifiers} {modifiers} unsafe {result_type} {camel_name}({params})
1111
+ {access} {extra_modifiers} {modifiers} unsafe {result_type} {camel_name}({params})
1112
{{
1113
{src}
1114
//TODO: free alloc handle (interopString) if exists
0 commit comments