cosmol_viewer_wasm 0.2.7 → 0.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,13 +43,13 @@ export interface InitOutput {
43
43
  readonly webhandle_start_with_scene: (a: number, b: number, c: number, d: number) => number;
44
44
  readonly webhandle_take_screenshot: (a: number) => number;
45
45
  readonly webhandle_update_scene: (a: number, b: number, c: number) => number;
46
- readonly __wasm_bindgen_func_elem_1370: (a: number, b: number) => void;
47
- readonly __wasm_bindgen_func_elem_7355: (a: number, b: number) => void;
48
- readonly __wasm_bindgen_func_elem_9261: (a: number, b: number, c: number, d: number) => void;
49
- readonly __wasm_bindgen_func_elem_9272: (a: number, b: number, c: number, d: number) => void;
50
- readonly __wasm_bindgen_func_elem_1549: (a: number, b: number, c: number) => void;
51
- readonly __wasm_bindgen_func_elem_1549_1: (a: number, b: number, c: number) => void;
52
- readonly __wasm_bindgen_func_elem_1547: (a: number, b: number, c: number) => void;
46
+ readonly __wasm_bindgen_func_elem_1636: (a: number, b: number) => void;
47
+ readonly __wasm_bindgen_func_elem_7623: (a: number, b: number) => void;
48
+ readonly __wasm_bindgen_func_elem_9531: (a: number, b: number, c: number, d: number) => void;
49
+ readonly __wasm_bindgen_func_elem_9543: (a: number, b: number, c: number, d: number) => void;
50
+ readonly __wasm_bindgen_func_elem_1813: (a: number, b: number, c: number) => void;
51
+ readonly __wasm_bindgen_func_elem_1813_1: (a: number, b: number, c: number) => void;
52
+ readonly __wasm_bindgen_func_elem_1811: (a: number, b: number, c: number) => void;
53
53
  readonly __wbindgen_export: (a: number, b: number) => number;
54
54
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
55
55
  readonly __wbindgen_export3: (a: number) => void;
@@ -1036,7 +1036,7 @@ function __wbg_get_imports() {
1036
1036
  const a = state0.a;
1037
1037
  state0.a = 0;
1038
1038
  try {
1039
- return __wasm_bindgen_func_elem_9272(a, state0.b, arg0, arg1);
1039
+ return __wasm_bindgen_func_elem_9543(a, state0.b, arg0, arg1);
1040
1040
  } finally {
1041
1041
  state0.a = a;
1042
1042
  }
@@ -1416,23 +1416,23 @@ function __wbg_get_imports() {
1416
1416
  return addHeapObject(ret);
1417
1417
  }, arguments); },
1418
1418
  __wbindgen_cast_0000000000000001: function() { return logError(function (arg0, arg1) {
1419
- // Cast intrinsic for `Closure(Closure { dtor_idx: 133, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 134, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1420
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1370, __wasm_bindgen_func_elem_1549);
1419
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 158, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 159, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1420
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1636, __wasm_bindgen_func_elem_1813);
1421
1421
  return addHeapObject(ret);
1422
1422
  }, arguments); },
1423
1423
  __wbindgen_cast_0000000000000002: function() { return logError(function (arg0, arg1) {
1424
- // Cast intrinsic for `Closure(Closure { dtor_idx: 133, function: Function { arguments: [NamedExternref("Event")], shim_idx: 134, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1425
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1370, __wasm_bindgen_func_elem_1549_1);
1424
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 158, function: Function { arguments: [NamedExternref("Event")], shim_idx: 159, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1425
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1636, __wasm_bindgen_func_elem_1813_1);
1426
1426
  return addHeapObject(ret);
1427
1427
  }, arguments); },
1428
1428
  __wbindgen_cast_0000000000000003: function() { return logError(function (arg0, arg1) {
1429
- // Cast intrinsic for `Closure(Closure { dtor_idx: 133, function: Function { arguments: [], shim_idx: 135, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1430
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1370, __wasm_bindgen_func_elem_1547);
1429
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 158, function: Function { arguments: [], shim_idx: 160, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1430
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1636, __wasm_bindgen_func_elem_1811);
1431
1431
  return addHeapObject(ret);
1432
1432
  }, arguments); },
1433
1433
  __wbindgen_cast_0000000000000004: function() { return logError(function (arg0, arg1) {
1434
- // Cast intrinsic for `Closure(Closure { dtor_idx: 731, function: Function { arguments: [Externref], shim_idx: 764, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1435
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7355, __wasm_bindgen_func_elem_9261);
1434
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 762, function: Function { arguments: [Externref], shim_idx: 796, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1435
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_7623, __wasm_bindgen_func_elem_9531);
1436
1436
  return addHeapObject(ret);
1437
1437
  }, arguments); },
1438
1438
  __wbindgen_cast_0000000000000005: function() { return logError(function (arg0, arg1) {
@@ -1491,24 +1491,24 @@ function __wbg_get_imports() {
1491
1491
 
1492
1492
 
1493
1493
  //#endregion
1494
- function __wasm_bindgen_func_elem_1549(arg0, arg1, arg2) {
1494
+ function __wasm_bindgen_func_elem_1813(arg0, arg1, arg2) {
1495
1495
  _assertNum(arg0);
1496
1496
  _assertNum(arg1);
1497
- wasm.__wasm_bindgen_func_elem_1549(arg0, arg1, addHeapObject(arg2));
1497
+ wasm.__wasm_bindgen_func_elem_1813(arg0, arg1, addHeapObject(arg2));
1498
1498
  }
1499
1499
 
1500
- function __wasm_bindgen_func_elem_1549_1(arg0, arg1, arg2) {
1500
+ function __wasm_bindgen_func_elem_1813_1(arg0, arg1, arg2) {
1501
1501
  _assertNum(arg0);
1502
1502
  _assertNum(arg1);
1503
- wasm.__wasm_bindgen_func_elem_1549_1(arg0, arg1, addHeapObject(arg2));
1503
+ wasm.__wasm_bindgen_func_elem_1813_1(arg0, arg1, addHeapObject(arg2));
1504
1504
  }
1505
1505
 
1506
- function __wasm_bindgen_func_elem_1547(arg0, arg1) {
1506
+ function __wasm_bindgen_func_elem_1811(arg0, arg1) {
1507
1507
  try {
1508
1508
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1509
1509
  _assertNum(arg0);
1510
1510
  _assertNum(arg1);
1511
- wasm.__wasm_bindgen_func_elem_1547(retptr, arg0, arg1);
1511
+ wasm.__wasm_bindgen_func_elem_1811(retptr, arg0, arg1);
1512
1512
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1513
1513
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1514
1514
  if (r1) {
@@ -1519,12 +1519,12 @@ function __wasm_bindgen_func_elem_1547(arg0, arg1) {
1519
1519
  }
1520
1520
  }
1521
1521
 
1522
- function __wasm_bindgen_func_elem_9261(arg0, arg1, arg2) {
1522
+ function __wasm_bindgen_func_elem_9531(arg0, arg1, arg2) {
1523
1523
  try {
1524
1524
  const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1525
1525
  _assertNum(arg0);
1526
1526
  _assertNum(arg1);
1527
- wasm.__wasm_bindgen_func_elem_9261(retptr, arg0, arg1, addHeapObject(arg2));
1527
+ wasm.__wasm_bindgen_func_elem_9531(retptr, arg0, arg1, addHeapObject(arg2));
1528
1528
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1529
1529
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1530
1530
  if (r1) {
@@ -1535,10 +1535,10 @@ function __wasm_bindgen_func_elem_9261(arg0, arg1, arg2) {
1535
1535
  }
1536
1536
  }
1537
1537
 
1538
- function __wasm_bindgen_func_elem_9272(arg0, arg1, arg2, arg3) {
1538
+ function __wasm_bindgen_func_elem_9543(arg0, arg1, arg2, arg3) {
1539
1539
  _assertNum(arg0);
1540
1540
  _assertNum(arg1);
1541
- wasm.__wasm_bindgen_func_elem_9272(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1541
+ wasm.__wasm_bindgen_func_elem_9543(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
1542
1542
  }
1543
1543
 
1544
1544
 
Binary file
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "cosmol_viewer_wasm",
3
3
  "type": "module",
4
4
  "description": "Molecular visualization tools by rust",
5
- "version": "0.2.7",
5
+ "version": "0.2.11",
6
6
  "files": [
7
7
  "cosmol_viewer_wasm_bg.wasm",
8
8
  "cosmol_viewer_wasm.js",