rusty_bind_parser/lib.rs
1//
2// Wildland Project
3//
4// Copyright © 2022 Golem Foundation,
5//
6// This program is free software: you can redistribute it and/or modify
7// it under the terms of the GNU General Public License version 3 as published by
8// the Free Software Foundation.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// You should have received a copy of the GNU General Public License
16// along with this program. If not, see <https://www.gnu.org/licenses/>.
17
18pub mod binding_module;
19pub mod binding_types;
20pub mod cpp;
21pub mod enum_helpers;
22pub mod extern_functions_utils;
23pub mod extern_module_translator;
24mod ffi_helper_traits;
25pub mod model;
26mod ordered_hash_set;
27pub mod parsing;
28pub mod swift;
29pub mod trait_function_helpers;
30mod utils;
31
32pub use binding_module::BindingModule;
33pub use utils::BuildContext;
34
35const EXPORTED_SYMBOLS_PREFIX: &str = "__rustybind__";
36const DROP_FUNCTION_SYMBOL_NAME: &str = "__rustybind__private__$onRustRefDrop";