#![allow(
clippy::all,
ambiguous_glob_reexports,
non_snake_case,
non_camel_case_types,
non_upper_case_globals,
unsafe_op_in_unsafe_fn,
unused_imports,
unused_qualifications
)]
pub use self::_fieldtypes as fieldtype_t;
#[allow(unused_imports)]
use super::super::super::__bindgen_prelude::*;
pub type _fieldtypes = ::std::os::raw::c_uint;
pub type inputfunc_t = __BindgenOpaqueArray8<[u8; 16usize]>;
pub const _fieldtypes_FIELD_BOOLEAN: _fieldtypes = 6;
pub const _fieldtypes_FIELD_CHARACTER: _fieldtypes = 8;
pub const _fieldtypes_FIELD_CLASSPTR: _fieldtypes = 12;
pub const _fieldtypes_FIELD_COLOR32: _fieldtypes = 9;
pub const _fieldtypes_FIELD_CUSTOM: _fieldtypes = 11;
pub const _fieldtypes_FIELD_EDICT: _fieldtypes = 14;
pub const _fieldtypes_FIELD_EHANDLE: _fieldtypes = 13;
pub const _fieldtypes_FIELD_EMBEDDED: _fieldtypes = 10;
pub const _fieldtypes_FIELD_FLOAT: _fieldtypes = 1;
pub const _fieldtypes_FIELD_FUNCTION: _fieldtypes = 21;
pub const _fieldtypes_FIELD_INPUT: _fieldtypes = 20;
pub const _fieldtypes_FIELD_INTEGER: _fieldtypes = 5;
pub const _fieldtypes_FIELD_INTERVAL: _fieldtypes = 25;
pub const _fieldtypes_FIELD_MATERIALINDEX: _fieldtypes = 27;
pub const _fieldtypes_FIELD_MATRIX3X4_WORLDSPACE: _fieldtypes = 24;
pub const _fieldtypes_FIELD_MODELINDEX: _fieldtypes = 26;
pub const _fieldtypes_FIELD_MODELNAME: _fieldtypes = 18;
pub const _fieldtypes_FIELD_POSITION_VECTOR: _fieldtypes = 15;
pub const _fieldtypes_FIELD_QUATERNION: _fieldtypes = 4;
pub const _fieldtypes_FIELD_SHORT: _fieldtypes = 7;
pub const _fieldtypes_FIELD_SOUNDNAME: _fieldtypes = 19;
pub const _fieldtypes_FIELD_STRING: _fieldtypes = 2;
pub const _fieldtypes_FIELD_TICK: _fieldtypes = 17;
pub const _fieldtypes_FIELD_TIME: _fieldtypes = 16;
pub const _fieldtypes_FIELD_TYPECOUNT: _fieldtypes = 29;
pub const _fieldtypes_FIELD_VECTOR: _fieldtypes = 3;
pub const _fieldtypes_FIELD_VECTOR2D: _fieldtypes = 28;
pub const _fieldtypes_FIELD_VMATRIX: _fieldtypes = 22;
pub const _fieldtypes_FIELD_VMATRIX_WORLDSPACE: _fieldtypes = 23;
pub const _fieldtypes_FIELD_VOID: _fieldtypes = 0;
#[repr(C)]
#[derive(Debug)]
pub struct ISaveRestoreOps {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct datamap_t {
pub dataDesc: *mut typedescription_t,
pub dataNumFields: ::std::os::raw::c_int,
pub dataClassName: *const ::std::os::raw::c_char,
pub baseMap: *mut datamap_t,
pub chains_validated: bool,
pub packed_offsets_computed: bool,
pub packed_size: ::std::os::raw::c_int,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct typedescription_t {
pub fieldType: fieldtype_t,
pub fieldName: *const ::std::os::raw::c_char,
pub fieldOffset: [::std::os::raw::c_int; 2usize],
pub fieldSize: ::std::os::raw::c_ushort,
pub flags: ::std::os::raw::c_short,
pub externalName: *const ::std::os::raw::c_char,
pub pSaveRestoreOps: *mut ISaveRestoreOps,
pub inputFunc: inputfunc_t,
pub td: *mut datamap_t,
pub fieldSizeInBytes: ::std::os::raw::c_int,
pub override_field: *mut typedescription_t,
pub override_count: ::std::os::raw::c_int,
pub fieldTolerance: f32,
}
include!("layout_assertions.rs");