Skip to content

Commit

Permalink
Fix binding sig
Browse files Browse the repository at this point in the history
  • Loading branch information
jawline committed Feb 8, 2016
1 parent 0e423b9 commit 04dc029
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified compiled/z3.emscripten.js.mem
Binary file not shown.
2 changes: 1 addition & 1 deletion compiled/z3_bindings_em.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ for (let method in GeneratedBindings) {

Z3.bindings_model_eval = function(ctx, mdl, expr) {
var pAST = Module._malloc(8);
var result = Z3.Z3_model_eval(ctx, mdl, expr.ast, true, pAST);
var result = Z3.Z3_model_eval(ctx, mdl, expr, true, pAST);
var eAST = Module.getValue(pAST, '*');
Module._free(pAST);
return result == Z3.TRUE ? eAST : null;
Expand Down
2 changes: 1 addition & 1 deletion compiled/z3_bindings_em_es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ for (var method in GeneratedBindings) {

Z3.bindings_model_eval = function (ctx, mdl, expr) {
var pAST = _z3Emscripten2.default._malloc(8);
var result = Z3.Z3_model_eval(ctx, mdl, expr.ast, true, pAST);
var result = Z3.Z3_model_eval(ctx, mdl, expr, true, pAST);
var eAST = _z3Emscripten2.default.getValue(pAST, '*');
_z3Emscripten2.default._free(pAST);
return result == Z3.TRUE ? eAST : null;
Expand Down
2 changes: 1 addition & 1 deletion templates/post_em_bindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ for (let method in GeneratedBindings) {

Z3.bindings_model_eval = function(ctx, mdl, expr) {
var pAST = Module._malloc(8);
var result = Z3.Z3_model_eval(ctx, mdl, expr.ast, true, pAST);
var result = Z3.Z3_model_eval(ctx, mdl, expr, true, pAST);
var eAST = Module.getValue(pAST, '*');
Module._free(pAST);
return result == Z3.TRUE ? eAST : null;
Expand Down

0 comments on commit 04dc029

Please sign in to comment.