Skip to content

Commit d0b9fb7

Browse files
committed
0.9.1 (additional fix in docs for return type)
1 parent c86fe53 commit d0b9fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCodeGenerator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ define(function (require, exports, module) {
614614
methodStr += elem.name;
615615
methodStr += "(" + inputParamStrings.join(", ") + ")" + " {\n";
616616
if (returnTypeParam.length > 0) {
617-
var returnType = returnTypeParam[0].type;
617+
var returnType = this.getType(returnTypeParam[0]);
618618
if (returnType === "boolean" || returnType === "bool") {
619619
methodStr += indentLine + "return false;";
620620
} else if (returnType === "int" || returnType === "long" || returnType === "short" || returnType === "byte") {

0 commit comments

Comments
 (0)