mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-01 06:48:29 -04:00
@@ -128,6 +128,7 @@ fn root_import(
|
||||
}
|
||||
|
||||
bitflags! {
|
||||
#[derive(Copy, Clone)]
|
||||
struct DerivableTraits: u16 {
|
||||
const DEBUG = 1 << 0;
|
||||
const DEFAULT = 1 << 1;
|
||||
|
||||
@@ -107,6 +107,7 @@ fn args_are_cpp(clang_args: &[Box<str>]) -> bool {
|
||||
}
|
||||
|
||||
bitflags! {
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
/// A type used to indicate which kind of items we have to generate.
|
||||
pub struct CodegenConfig: u32 {
|
||||
/// Whether to generate functions.
|
||||
|
||||
Reference in New Issue
Block a user