testnumbat_wasm/api/uncallable/
big_int_api_uncallable.rs

1use core::cmp::Ordering;
2
3use crate::{
4    api::{BigIntApi, Handle, Sign},
5    types::BoxedBytes,
6};
7
8impl BigIntApi for super::UncallableApi {
9    fn bi_new(&self, _value: i64) -> Handle {
10        unreachable!()
11    }
12
13    fn bi_unsigned_byte_length(&self, _x: Handle) -> usize {
14        unreachable!()
15    }
16
17    fn bi_get_unsigned_bytes(&self, _reference: Handle) -> BoxedBytes {
18        unreachable!()
19    }
20
21    fn bi_set_unsigned_bytes(&self, _destination: Handle, _bytes: &[u8]) {
22        unreachable!()
23    }
24
25    fn bi_signed_byte_length(&self, _x: Handle) -> usize {
26        unreachable!()
27    }
28
29    fn bi_get_signed_bytes(&self, _reference: Handle) -> BoxedBytes {
30        unreachable!()
31    }
32
33    fn bi_set_signed_bytes(&self, _destination: Handle, _bytes: &[u8]) {
34        unreachable!()
35    }
36
37    fn bi_to_i64(&self, _reference: Handle) -> Option<i64> {
38        unreachable!()
39    }
40
41    fn bi_add(&self, _dest: Handle, _x: Handle, _y: Handle) {
42        unreachable!()
43    }
44
45    fn bi_sub(&self, _dest: Handle, _x: Handle, _y: Handle) {
46        unreachable!()
47    }
48
49    fn bi_sub_unsigned(&self, _dest: Handle, _x: Handle, _y: Handle) {
50        unreachable!()
51    }
52
53    fn bi_mul(&self, _dest: Handle, _x: Handle, _y: Handle) {
54        unreachable!()
55    }
56
57    fn bi_t_div(&self, _dest: Handle, _x: Handle, _y: Handle) {
58        unreachable!()
59    }
60
61    fn bi_t_mod(&self, _dest: Handle, _x: Handle, _y: Handle) {
62        unreachable!()
63    }
64
65    fn bi_abs(&self, _dest: Handle, _x: Handle) {
66        unreachable!()
67    }
68
69    fn bi_neg(&self, _dest: Handle, _x: Handle) {
70        unreachable!()
71    }
72
73    fn bi_sign(&self, _x: Handle) -> Sign {
74        unreachable!()
75    }
76
77    fn bi_cmp(&self, _x: Handle, _y: Handle) -> Ordering {
78        unreachable!()
79    }
80
81    fn bi_sqrt(&self, _dest: Handle, _x: Handle) {
82        unreachable!()
83    }
84
85    fn bi_pow(&self, _dest: Handle, _x: Handle, _y: Handle) {
86        unreachable!()
87    }
88
89    fn bi_log2(&self, _x: Handle) -> u32 {
90        unreachable!()
91    }
92
93    fn bi_and(&self, _dest: Handle, _x: Handle, _y: Handle) {
94        unreachable!()
95    }
96
97    fn bi_or(&self, _dest: Handle, _x: Handle, _y: Handle) {
98        unreachable!()
99    }
100
101    fn bi_xor(&self, _dest: Handle, _x: Handle, _y: Handle) {
102        unreachable!()
103    }
104
105    fn bi_shr(&self, _dest: Handle, _x: Handle, _bits: usize) {
106        unreachable!()
107    }
108
109    fn bi_shl(&self, _dest: Handle, _x: Handle, _bits: usize) {
110        unreachable!()
111    }
112}