Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2180b3e

Browse files
Generate correct return type for non-void base type methods. Thanks, @JmgrArt!
1 parent 800e0cd commit 2180b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Unity/Assets/NativeScript/Editor/GenerateBindings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8691,7 +8691,7 @@ static ParameterInfo[] AppendBaseTypeCppNativeInvokeCall(
86918691
typeParams,
86928692
funcName,
86938693
invokeParams,
8694-
typeof(void),
8694+
invokeMethod.ReturnType,
86958695
builders.CsharpImports);
86968696

86978697
return invokeParams;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /