Skip to main content

flint_sys/
ca_field.rs

1/* automatically generated by rust-bindgen 0.70.1 */
2
3use crate::deps::*;
4use crate::ca_types::*;
5use crate::qqbar::*;
6
7
8extern "C" {
9    pub fn ca_field_init_qq(K: *mut ca_field_struct, ctx: *mut ca_ctx_struct);
10    pub fn ca_field_init_nf(
11        K: *mut ca_field_struct,
12        x: *const qqbar_struct,
13        ctx: *mut ca_ctx_struct,
14    );
15    pub fn ca_field_init_const(
16        K: *mut ca_field_struct,
17        func: calcium_func_code,
18        ctx: *mut ca_ctx_struct,
19    );
20    pub fn ca_field_init_fx(
21        K: *mut ca_field_struct,
22        func: calcium_func_code,
23        x: *const ca_struct,
24        ctx: *mut ca_ctx_struct,
25    );
26    pub fn ca_field_init_fxy(
27        K: *mut ca_field_struct,
28        func: calcium_func_code,
29        x: *const ca_struct,
30        y: *const ca_struct,
31        ctx: *mut ca_ctx_struct,
32    );
33    pub fn ca_field_init_multi(K: *mut ca_field_struct, len: slong, ctx: *mut ca_ctx_struct);
34    pub fn ca_field_clear(K: *mut ca_field_struct, ctx: *mut ca_ctx_struct);
35    pub fn ca_field_set_ext(
36        K: *mut ca_field_struct,
37        i: slong,
38        x: ca_ext_srcptr,
39        ctx: *mut ca_ctx_struct,
40    );
41    pub fn ca_field_print(K: *const ca_field_struct, ctx: *mut ca_ctx_struct);
42    pub fn ca_field_cmp(
43        K1: *const ca_field_struct,
44        K2: *const ca_field_struct,
45        ctx: *mut ca_ctx_struct,
46    ) -> libc::c_int;
47    pub fn ca_field_build_ideal(K: *mut ca_field_struct, ctx: *mut ca_ctx_struct);
48    pub fn ca_field_build_ideal_erf(K: *mut ca_field_struct, ctx: *mut ca_ctx_struct);
49    pub fn ca_field_build_ideal_gamma(K: *mut ca_field_struct, ctx: *mut ca_ctx_struct);
50    pub fn ca_field_cache_init(cache: *mut ca_field_cache_struct, ctx: *mut ca_ctx_struct);
51    pub fn ca_field_cache_clear(cache: *mut ca_field_cache_struct, ctx: *mut ca_ctx_struct);
52    pub fn ca_field_cache_insert_ext(
53        cache: *mut ca_field_cache_struct,
54        x: *mut *mut ca_ext_struct,
55        length: slong,
56        ctx: *mut ca_ctx_struct,
57    ) -> ca_field_ptr;
58}