aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-22 08:50:56 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-22 08:50:56 -0700
commit1e9762f8cd15dd0f03c9e0955d0bf2aa2bfbff0e (patch)
tree083f36d14eefd2d372632b810eecb910ebb8078c /src/jsifier.js
parent2fa66559a20ce74d7cc8a301a389778b79ca80a7 (diff)
fix regression of double-counting varargs
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 7e67fa75..30cea99b 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -50,7 +50,7 @@ function JSify(data, functionsOnly, givenFunctions) {
print(pre);
data.unparsedFunctions.forEach(function(func) {
- Functions.implementedFunctions[func.ident] = Functions.getSignature(func.returnType, func.params.map(function(param) { return param.type }), func.hasVarArgs);
+ Functions.implementedFunctions[func.ident] = Functions.getSignature(func.returnType, func.params.map(function(param) { return param.type }));
});
}
}