Skip to content

Commit

Permalink
Regenerate bindings after stopping using ptr attr
Browse files Browse the repository at this point in the history
  • Loading branch information
dannywillems committed Oct 4, 2023
1 parent 2145fc4 commit 3d362f2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions compiled/node_bindings/snarky_js_node.bc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2421,7 +2421,7 @@
return res}
function js_class_vector_to_rust_vector(v)
{var len=v.length,res=new (globalThis.Uint32Array)(len);
for(var i=0;i < len;i++)res[i] = v[i].ptr;
for(var i=0;i < len;i++)res[i] = v[i].__wbg_ptr;
return res}
var
free_finalization_registry=
Expand Down Expand Up @@ -2459,7 +2459,7 @@
rust_affine_to_caml_affine,
false)}
function free_on_finalize(x)
{var instance_representative=x.constructor.__wrap(x.ptr);
{var instance_representative=x.constructor.__wrap(x.__wbg_ptr);
free_finalization_registry.register(x,instance_representative,x);
return x}
function caml_fp_srs_create(i)
Expand Down Expand Up @@ -5079,7 +5079,7 @@
||
tag}
function wrap(ptr,klass)
{var obj=Object.create(klass.prototype);obj.ptr = ptr;return obj}
{var obj=Object.create(klass.prototype);obj.__wbg_ptr = ptr;return obj}
function index_term_of_rust(term,token_class)
{var
column=column_of_rust(term.column),
Expand Down
2 changes: 1 addition & 1 deletion compiled/node_bindings/snarky_js_node.bc.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled/web_bindings/snarky_js_web.bc.js

Large diffs are not rendered by default.

0 comments on commit 3d362f2

Please sign in to comment.