Skip to content

Commit

Permalink
0.9.1 (additional fix in docs for return type)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklauslee committed Nov 30, 2015
1 parent c86fe53 commit d0b9fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CppCodeGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ define(function (require, exports, module) {
methodStr += elem.name;
methodStr += "(" + inputParamStrings.join(", ") + ")" + " {\n";
if (returnTypeParam.length > 0) {
var returnType = returnTypeParam[0].type;
var returnType = this.getType(returnTypeParam[0]);
if (returnType === "boolean" || returnType === "bool") {
methodStr += indentLine + "return false;";
} else if (returnType === "int" || returnType === "long" || returnType === "short" || returnType === "byte") {
Expand Down

0 comments on commit d0b9fb7

Please sign in to comment.