Skip to content

Commit eeb5fba

Browse files
authored
Fix marshalling return type (#71)
***UPDATE_DEPENDENTS***
1 parent 3caba59 commit eeb5fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/MetadataProcessor.Core/nanoSkeletonGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private void GenerateStubs()
133133

134134
newMethod.ReturnType = m.MethodReturnType.ReturnType.ToNativeTypeAsString();
135135

136-
newMethod.MarshallingReturnType = newMethod.ReturnType;
136+
newMethod.MarshallingReturnType = m.MethodReturnType.ReturnType.ToCLRTypeAsString();
137137

138138
declaration.Append($"{m.Name}");
139139
declaration.Append("( ");

0 commit comments

Comments
 (0)