blingfire_sys/
lib.rs

1#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
2/* automatically generated by rust-bindgen */
3
4#[doc = ""]
5#[doc = " This class defines global limits for input and output of all modules."]
6#[doc = ""]
7#[repr(C)]
8#[derive(Debug, Copy, Clone)]
9pub struct FALimits {
10    pub _address: u8,
11}
12pub const FALimits_MaxArrSize: FALimits__bindgen_ty_1 = 1000000000;
13pub const FALimits_MaxChainSize: FALimits__bindgen_ty_1 = 1000000000;
14pub const FALimits_MaxStateVal: FALimits__bindgen_ty_1 = 1000000000;
15pub const FALimits_MaxIwVal: FALimits__bindgen_ty_1 = 1000000000;
16pub const FALimits_MaxIw: FALimits__bindgen_ty_1 = 1000000000;
17pub const FALimits_MaxLdbDumpCount: FALimits__bindgen_ty_1 = 105;
18pub const FALimits_MaxWordLen: FALimits__bindgen_ty_1 = 300;
19pub const FALimits_MaxWordSize: FALimits__bindgen_ty_1 = 300;
20pub const FALimits_MaxWordCount: FALimits__bindgen_ty_1 = 1000;
21pub const FALimits_MaxParadigmSize: FALimits__bindgen_ty_1 = 1000;
22pub const FALimits_MaxTagsPerWord: FALimits__bindgen_ty_1 = 100;
23pub const FALimits_MinTag: FALimits__bindgen_ty_1 = 1;
24pub const FALimits_MaxTag: FALimits__bindgen_ty_1 = 65535;
25pub const FALimits_MaxGram: FALimits__bindgen_ty_1 = 4;
26pub type FALimits__bindgen_ty_1 = u32;
27#[test]
28fn bindgen_test_layout_FALimits() {
29    assert_eq!(
30        ::std::mem::size_of::<FALimits>(),
31        1usize,
32        concat!("Size of: ", stringify!(FALimits))
33    );
34    assert_eq!(
35        ::std::mem::align_of::<FALimits>(),
36        1usize,
37        concat!("Alignment of ", stringify!(FALimits))
38    );
39}
40extern "C" {
41    pub fn TextToSentences(
42        pInUtf8Str: *const ::std::os::raw::c_char,
43        InUtf8StrByteCount: ::std::os::raw::c_int,
44        pOutUtf8Str: *mut ::std::os::raw::c_char,
45        MaxOutUtf8StrByteCount: ::std::os::raw::c_int,
46    ) -> ::std::os::raw::c_int;
47}
48extern "C" {
49    pub fn TextToWords(
50        pInUtf8Str: *const ::std::os::raw::c_char,
51        InUtf8StrByteCount: ::std::os::raw::c_int,
52        pOutUtf8Str: *mut ::std::os::raw::c_char,
53        MaxOutUtf8StrByteCount: ::std::os::raw::c_int,
54    ) -> ::std::os::raw::c_int;
55}