1
2
3
/* automatically generated by rust-bindgen */

# [ repr ( C ) ] # [ derive ( Copy , Clone , Debug , Default , Eq , Hash , Ord , PartialEq , PartialOrd ) ] pub struct __BindgenBitfieldUnit < Storage , Align > { storage : Storage , align : [ Align ; 0 ] , } impl < Storage , Align > __BindgenBitfieldUnit < Storage , Align > { # [ inline ] pub const fn new ( storage : Storage ) -> Self { Self { storage , align : [ ] } } } impl < Storage , Align > __BindgenBitfieldUnit < Storage , Align > where Storage : AsRef < [ u8 ] > + AsMut < [ u8 ] >, { # [ inline ] pub fn get_bit ( & self , index : usize ) -> bool { debug_assert ! ( index / 8 < self . storage . as_ref ( ) . len ( ) ) ; let byte_index = index / 8 ; let byte = self . storage . as_ref ( ) [ byte_index ] ; let bit_index = if cfg ! ( target_endian = "big" ) { 7 - ( index % 8 ) } else { index % 8 } ; let mask = 1 << bit_index ; byte & mask == mask } # [ inline ] pub fn set_bit ( & mut self , index : usize , val : bool ) { debug_assert ! ( index / 8 < self . storage . as_ref ( ) . len ( ) ) ; let byte_index = index / 8 ; let byte = & mut self . storage . as_mut ( ) [ byte_index ] ; let bit_index = if cfg ! ( target_endian = "big" ) { 7 - ( index % 8 ) } else { index % 8 } ; let mask = 1 << bit_index ; if val { * byte |= mask ; } else { * byte &= ! mask ; } } # [ inline ] pub fn get ( & self , bit_offset : usize , bit_width : u8 ) -> u64 { debug_assert ! ( bit_width <= 64 ) ; debug_assert ! ( bit_offset / 8 < self . storage . as_ref ( ) . len ( ) ) ; debug_assert ! ( ( bit_offset + ( bit_width as usize ) ) / 8 <= self . storage . as_ref ( ) . len ( ) ) ; let mut val = 0 ; for i in 0 .. ( bit_width as usize ) { if self . get_bit ( i + bit_offset ) { let index = if cfg ! ( target_endian = "big" ) { bit_width as usize - 1 - i } else { i } ; val |= 1 << index ; } } val } # [ inline ] pub fn set ( & mut self , bit_offset : usize , bit_width : u8 , val : u64 ) { debug_assert ! ( bit_width <= 64 ) ; debug_assert ! ( bit_offset / 8 < self . storage . as_ref ( ) . len ( ) ) ; debug_assert ! ( ( bit_offset + ( bit_width as usize ) ) / 8 <= self . storage . as_ref ( ) . len ( ) ) ; for i in 0 .. ( bit_width as usize ) { let mask = 1 << i ; let val_bit_is_set = val & mask == mask ; let index = if cfg ! ( target_endian = "big" ) { bit_width as usize - 1 - i } else { i } ; self . set_bit ( index + bit_offset , val_bit_is_set ) ; } } } pub const _STDIO_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __STDC_NO_THREADS__ : u32 = 1 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 27 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const ____FILE_defined : u32 = 1 ; pub const __FILE_defined : u32 = 1 ; pub const _BITS_LIBIO_H : u32 = 1 ; pub const _BITS_G_CONFIG_H : u32 = 1 ; pub const ____mbstate_t_defined : u32 = 1 ; pub const _G_HAVE_MMAP : u32 = 1 ; pub const _G_HAVE_MREMAP : u32 = 1 ; pub const _G_IO_IO_FILE_VERSION : u32 = 131073 ; pub const _G_BUFSIZ : u32 = 8192 ; pub const _IO_BUFSIZ : u32 = 8192 ; pub const __GNUC_VA_LIST : u32 = 1 ; pub const _IO_UNIFIED_JUMPTABLES : u32 = 1 ; pub const EOF : i32 = -1 ; pub const _IOS_INPUT : u32 = 1 ; pub const _IOS_OUTPUT : u32 = 2 ; pub const _IOS_ATEND : u32 = 4 ; pub const _IOS_APPEND : u32 = 8 ; pub const _IOS_TRUNC : u32 = 16 ; pub const _IOS_NOCREATE : u32 = 32 ; pub const _IOS_NOREPLACE : u32 = 64 ; pub const _IOS_BIN : u32 = 128 ; pub const _IO_MAGIC : u32 = 4222418944 ; pub const _OLD_STDIO_MAGIC : u32 = 4206624768 ; pub const _IO_MAGIC_MASK : u32 = 4294901760 ; pub const _IO_USER_BUF : u32 = 1 ; pub const _IO_UNBUFFERED : u32 = 2 ; pub const _IO_NO_READS : u32 = 4 ; pub const _IO_NO_WRITES : u32 = 8 ; pub const _IO_EOF_SEEN : u32 = 16 ; pub const _IO_ERR_SEEN : u32 = 32 ; pub const _IO_DELETE_DONT_CLOSE : u32 = 64 ; pub const _IO_LINKED : u32 = 128 ; pub const _IO_IN_BACKUP : u32 = 256 ; pub const _IO_LINE_BUF : u32 = 512 ; pub const _IO_TIED_PUT_GET : u32 = 1024 ; pub const _IO_CURRENTLY_PUTTING : u32 = 2048 ; pub const _IO_IS_APPENDING : u32 = 4096 ; pub const _IO_IS_FILEBUF : u32 = 8192 ; pub const _IO_BAD_SEEN : u32 = 16384 ; pub const _IO_USER_LOCK : u32 = 32768 ; pub const _IO_FLAGS2_MMAP : u32 = 1 ; pub const _IO_FLAGS2_NOTCANCEL : u32 = 2 ; pub const _IO_FLAGS2_USER_WBUF : u32 = 8 ; pub const _IO_SKIPWS : u32 = 1 ; pub const _IO_LEFT : u32 = 2 ; pub const _IO_RIGHT : u32 = 4 ; pub const _IO_INTERNAL : u32 = 8 ; pub const _IO_DEC : u32 = 16 ; pub const _IO_OCT : u32 = 32 ; pub const _IO_HEX : u32 = 64 ; pub const _IO_SHOWBASE : u32 = 128 ; pub const _IO_SHOWPOINT : u32 = 256 ; pub const _IO_UPPERCASE : u32 = 512 ; pub const _IO_SHOWPOS : u32 = 1024 ; pub const _IO_SCIENTIFIC : u32 = 2048 ; pub const _IO_FIXED : u32 = 4096 ; pub const _IO_UNITBUF : u32 = 8192 ; pub const _IO_STDIO : u32 = 16384 ; pub const _IO_DONT_CLOSE : u32 = 32768 ; pub const _IO_BOOLALPHA : u32 = 65536 ; pub const _IOFBF : u32 = 0 ; pub const _IOLBF : u32 = 1 ; pub const _IONBF : u32 = 2 ; pub const BUFSIZ : u32 = 8192 ; pub const SEEK_SET : u32 = 0 ; pub const SEEK_CUR : u32 = 1 ; pub const SEEK_END : u32 = 2 ; pub const P_tmpdir : & 'static [ u8 ; 5usize ] = b"/tmp\0" ; pub const _BITS_STDIO_LIM_H : u32 = 1 ; pub const L_tmpnam : u32 = 20 ; pub const TMP_MAX : u32 = 238328 ; pub const FILENAME_MAX : u32 = 4096 ; pub const L_ctermid : u32 = 9 ; pub const FOPEN_MAX : u32 = 16 ; pub const LINUX : u32 = 0 ; pub const DARWIN : u32 = 0 ; pub const MAC_XCD : u32 = 0 ; pub const WIN_MVC : u32 = 0 ; pub const UNIX_V : u32 = 0 ; pub const UNIX_7 : u32 = 0 ; pub const WIN_GCC : u32 = 0 ; pub const GENERIC : u32 = 1 ; pub const IBM : u32 = 0 ; pub const RUN_TIME : u32 = 0 ; pub const DEFRULE_CONSTRUCT : u32 = 1 ; pub const DEFMODULE_CONSTRUCT : u32 = 1 ; pub const DEFTEMPLATE_CONSTRUCT : u32 = 1 ; pub const FACT_SET_QUERIES : u32 = 1 ; pub const DEFFACTS_CONSTRUCT : u32 = 1 ; pub const DEFGLOBAL_CONSTRUCT : u32 = 1 ; pub const DEFFUNCTION_CONSTRUCT : u32 = 1 ; pub const DEFGENERIC_CONSTRUCT : u32 = 1 ; pub const OBJECT_SYSTEM : u32 = 1 ; pub const DEFINSTANCES_CONSTRUCT : u32 = 1 ; pub const INSTANCE_SET_QUERIES : u32 = 1 ; pub const BLOAD_INSTANCES : u32 = 1 ; pub const BSAVE_INSTANCES : u32 = 1 ; pub const EXTENDED_MATH_FUNCTIONS : u32 = 1 ; pub const TEXTPRO_FUNCTIONS : u32 = 1 ; pub const BLOAD_ONLY : u32 = 0 ; pub const BLOAD : u32 = 0 ; pub const BLOAD_AND_BSAVE : u32 = 1 ; pub const CONSTRUCT_COMPILER : u32 = 1 ; pub const API_HEADER : & 'static [ u8 ; 8usize ] = b"clips.h\0" ; pub const IO_FUNCTIONS : u32 = 1 ; pub const STRING_FUNCTIONS : u32 = 1 ; pub const MULTIFIELD_FUNCTIONS : u32 = 1 ; pub const DEBUGGING_FUNCTIONS : u32 = 1 ; pub const PROFILING_FUNCTIONS : u32 = 1 ; pub const WINDOW_INTERFACE : u32 = 0 ; pub const DEVELOPER : u32 = 0 ; pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; pub const _STDLIB_H : u32 = 1 ; pub const WNOHANG : u32 = 1 ; pub const WUNTRACED : u32 = 2 ; pub const WSTOPPED : u32 = 2 ; pub const WEXITED : u32 = 4 ; pub const WCONTINUED : u32 = 8 ; pub const WNOWAIT : u32 = 16777216 ; pub const __WNOTHREAD : u32 = 536870912 ; pub const __WALL : u32 = 1073741824 ; pub const __WCLONE : u32 = 2147483648 ; pub const __ENUM_IDTYPE_T : u32 = 1 ; pub const __W_CONTINUED : u32 = 65535 ; pub const __WCOREFLAG : u32 = 128 ; pub const __HAVE_FLOAT128 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128 : u32 = 0 ; pub const __HAVE_FLOAT64X : u32 = 1 ; pub const __HAVE_FLOAT64X_LONG_DOUBLE : u32 = 1 ; pub const __HAVE_FLOAT16 : u32 = 0 ; pub const __HAVE_FLOAT32 : u32 = 1 ; pub const __HAVE_FLOAT64 : u32 = 1 ; pub const __HAVE_FLOAT32X : u32 = 1 ; pub const __HAVE_FLOAT128X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT16 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64 : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT32X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT64X : u32 = 0 ; pub const __HAVE_DISTINCT_FLOAT128X : u32 = 0 ; pub const __HAVE_FLOATN_NOT_TYPEDEF : u32 = 0 ; pub const __ldiv_t_defined : u32 = 1 ; pub const __lldiv_t_defined : u32 = 1 ; pub const RAND_MAX : u32 = 2147483647 ; pub const EXIT_FAILURE : u32 = 1 ; pub const EXIT_SUCCESS : u32 = 0 ; pub const _SYS_TYPES_H : u32 = 1 ; pub const __clock_t_defined : u32 = 1 ; pub const __clockid_t_defined : u32 = 1 ; pub const __time_t_defined : u32 = 1 ; pub const __timer_t_defined : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const __BIT_TYPES_DEFINED__ : u32 = 1 ; pub const _ENDIAN_H : u32 = 1 ; pub const __LITTLE_ENDIAN : u32 = 1234 ; pub const __BIG_ENDIAN : u32 = 4321 ; pub const __PDP_ENDIAN : u32 = 3412 ; pub const __BYTE_ORDER : u32 = 1234 ; pub const __FLOAT_WORD_ORDER : u32 = 1234 ; pub const LITTLE_ENDIAN : u32 = 1234 ; pub const BIG_ENDIAN : u32 = 4321 ; pub const PDP_ENDIAN : u32 = 3412 ; pub const BYTE_ORDER : u32 = 1234 ; pub const _BITS_BYTESWAP_H : u32 = 1 ; pub const _BITS_UINTN_IDENTITY_H : u32 = 1 ; pub const _SYS_SELECT_H : u32 = 1 ; pub const __FD_ZERO_STOS : & 'static [ u8 ; 6usize ] = b"stosq\0" ; pub const __sigset_t_defined : u32 = 1 ; pub const __timeval_defined : u32 = 1 ; pub const __timespec_defined : u32 = 1 ; pub const FD_SETSIZE : u32 = 1024 ; pub const _SYS_SYSMACROS_H : u32 = 1 ; pub const _BITS_SYSMACROS_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_COMMON_H : u32 = 1 ; pub const _THREAD_SHARED_TYPES_H : u32 = 1 ; pub const _BITS_PTHREADTYPES_ARCH_H : u32 = 1 ; pub const __SIZEOF_PTHREAD_MUTEX_T : u32 = 40 ; pub const __SIZEOF_PTHREAD_ATTR_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_RWLOCK_T : u32 = 56 ; pub const __SIZEOF_PTHREAD_BARRIER_T : u32 = 32 ; pub const __SIZEOF_PTHREAD_MUTEXATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_COND_T : u32 = 48 ; pub const __SIZEOF_PTHREAD_CONDATTR_T : u32 = 4 ; pub const __SIZEOF_PTHREAD_RWLOCKATTR_T : u32 = 8 ; pub const __SIZEOF_PTHREAD_BARRIERATTR_T : u32 = 4 ; pub const __PTHREAD_MUTEX_LOCK_ELISION : u32 = 1 ; pub const __PTHREAD_MUTEX_NUSERS_AFTER_KIND : u32 = 0 ; pub const __PTHREAD_MUTEX_USE_UNION : u32 = 0 ; pub const __PTHREAD_RWLOCK_INT_FLAGS_SHARED : u32 = 1 ; pub const __PTHREAD_MUTEX_HAVE_PREV : u32 = 1 ; pub const __have_pthread_attr_t : u32 = 1 ; pub const _ALLOCA_H : u32 = 1 ; pub const USER_ENVIRONMENT_DATA : u32 = 70 ; pub const MAXIMUM_ENVIRONMENT_POSITIONS : u32 = 100 ; pub const MAXIMUM_USER_DATA_RECORDS : u32 = 100 ; pub const USER_DATA_DATA : u32 = 56 ; pub const _STDINT_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = -128 ; pub const INT16_MIN : i32 = -32768 ; pub const INT32_MIN : i32 = -2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = -128 ; pub const INT_LEAST16_MIN : i32 = -32768 ; pub const INT_LEAST32_MIN : i32 = -2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = -128 ; pub const INT_FAST16_MIN : i64 = -9223372036854775808 ; pub const INT_FAST32_MIN : i64 = -9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = -1 ; pub const UINT_FAST32_MAX : i32 = -1 ; pub const INTPTR_MIN : i64 = -9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = -1 ; pub const PTRDIFF_MIN : i64 = -9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = -2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = -1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const _LIBC_LIMITS_H_ : u32 = 1 ; pub const MB_LEN_MAX : u32 = 16 ; pub const _BITS_POSIX1_LIM_H : u32 = 1 ; pub const _POSIX_AIO_LISTIO_MAX : u32 = 2 ; pub const _POSIX_AIO_MAX : u32 = 1 ; pub const _POSIX_ARG_MAX : u32 = 4096 ; pub const _POSIX_CHILD_MAX : u32 = 25 ; pub const _POSIX_DELAYTIMER_MAX : u32 = 32 ; pub const _POSIX_HOST_NAME_MAX : u32 = 255 ; pub const _POSIX_LINK_MAX : u32 = 8 ; pub const _POSIX_LOGIN_NAME_MAX : u32 = 9 ; pub const _POSIX_MAX_CANON : u32 = 255 ; pub const _POSIX_MAX_INPUT : u32 = 255 ; pub const _POSIX_MQ_OPEN_MAX : u32 = 8 ; pub const _POSIX_MQ_PRIO_MAX : u32 = 32 ; pub const _POSIX_NAME_MAX : u32 = 14 ; pub const _POSIX_NGROUPS_MAX : u32 = 8 ; pub const _POSIX_OPEN_MAX : u32 = 20 ; pub const _POSIX_PATH_MAX : u32 = 256 ; pub const _POSIX_PIPE_BUF : u32 = 512 ; pub const _POSIX_RE_DUP_MAX : u32 = 255 ; pub const _POSIX_RTSIG_MAX : u32 = 8 ; pub const _POSIX_SEM_NSEMS_MAX : u32 = 256 ; pub const _POSIX_SEM_VALUE_MAX : u32 = 32767 ; pub const _POSIX_SIGQUEUE_MAX : u32 = 32 ; pub const _POSIX_SSIZE_MAX : u32 = 32767 ; pub const _POSIX_STREAM_MAX : u32 = 8 ; pub const _POSIX_SYMLINK_MAX : u32 = 255 ; pub const _POSIX_SYMLOOP_MAX : u32 = 8 ; pub const _POSIX_TIMER_MAX : u32 = 32 ; pub const _POSIX_TTY_NAME_MAX : u32 = 9 ; pub const _POSIX_TZNAME_MAX : u32 = 6 ; pub const _POSIX_CLOCKRES_MIN : u32 = 20000000 ; pub const NR_OPEN : u32 = 1024 ; pub const NGROUPS_MAX : u32 = 65536 ; pub const ARG_MAX : u32 = 131072 ; pub const LINK_MAX : u32 = 127 ; pub const MAX_CANON : u32 = 255 ; pub const MAX_INPUT : u32 = 255 ; pub const NAME_MAX : u32 = 255 ; pub const PATH_MAX : u32 = 4096 ; pub const PIPE_BUF : u32 = 4096 ; pub const XATTR_NAME_MAX : u32 = 255 ; pub const XATTR_SIZE_MAX : u32 = 65536 ; pub const XATTR_LIST_MAX : u32 = 65536 ; pub const RTSIG_MAX : u32 = 32 ; pub const _POSIX_THREAD_KEYS_MAX : u32 = 128 ; pub const PTHREAD_KEYS_MAX : u32 = 1024 ; pub const _POSIX_THREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const PTHREAD_DESTRUCTOR_ITERATIONS : u32 = 4 ; pub const _POSIX_THREAD_THREADS_MAX : u32 = 64 ; pub const AIO_PRIO_DELTA_MAX : u32 = 20 ; pub const PTHREAD_STACK_MIN : u32 = 16384 ; pub const DELAYTIMER_MAX : u32 = 2147483647 ; pub const TTY_NAME_MAX : u32 = 32 ; pub const LOGIN_NAME_MAX : u32 = 256 ; pub const HOST_NAME_MAX : u32 = 64 ; pub const MQ_PRIO_MAX : u32 = 32768 ; pub const SEM_VALUE_MAX : u32 = 2147483647 ; pub const _BITS_POSIX2_LIM_H : u32 = 1 ; pub const _POSIX2_BC_BASE_MAX : u32 = 99 ; pub const _POSIX2_BC_DIM_MAX : u32 = 2048 ; pub const _POSIX2_BC_SCALE_MAX : u32 = 99 ; pub const _POSIX2_BC_STRING_MAX : u32 = 1000 ; pub const _POSIX2_COLL_WEIGHTS_MAX : u32 = 2 ; pub const _POSIX2_EXPR_NEST_MAX : u32 = 32 ; pub const _POSIX2_LINE_MAX : u32 = 2048 ; pub const _POSIX2_RE_DUP_MAX : u32 = 255 ; pub const _POSIX2_CHARCLASS_NAME_MAX : u32 = 14 ; pub const BC_BASE_MAX : u32 = 99 ; pub const BC_DIM_MAX : u32 = 2048 ; pub const BC_SCALE_MAX : u32 = 99 ; pub const BC_STRING_MAX : u32 = 1000 ; pub const COLL_WEIGHTS_MAX : u32 = 255 ; pub const EXPR_NEST_MAX : u32 = 32 ; pub const LINE_MAX : u32 = 2048 ; pub const CHARCLASS_NAME_MAX : u32 = 2048 ; pub const RE_DUP_MAX : u32 = 32767 ; pub const EXACTLY : u32 = 0 ; pub const AT_LEAST : u32 = 1 ; pub const NO_MORE_THAN : u32 = 2 ; pub const RANGE : u32 = 3 ; pub const LHS : u32 = 0 ; pub const RHS : u32 = 1 ; pub const NESTED_RHS : u32 = 2 ; pub const NEGATIVE : u32 = 0 ; pub const POSITIVE : u32 = 1 ; pub const EOS : u8 = 0u8 ; pub const INSIDE : u32 = 0 ; pub const OUTSIDE : u32 = 1 ; pub const LESS_THAN : u32 = 0 ; pub const GREATER_THAN : u32 = 1 ; pub const EQUAL : u32 = 2 ; pub const APPLICATION_NAME : & 'static [ u8 ; 6usize ] = b"CLIPS\0" ; pub const COMMAND_PROMPT : & 'static [ u8 ; 8usize ] = b"CLIPS> \0" ; pub const VERSION_STRING : & 'static [ u8 ; 5usize ] = b"6.40\0" ; pub const CREATION_DATE_STRING : & 'static [ u8 ; 8usize ] = b"2/20/20\0" ; pub const BANNER_STRING : & 'static [ u8 ; 38usize ] = b"         CLIPS (Cypher Beta 2/20/20)\n\0" ; pub const OBJECT_TYPE_NAME : & 'static [ u8 ; 7usize ] = b"OBJECT\0" ; pub const USER_TYPE_NAME : & 'static [ u8 ; 5usize ] = b"USER\0" ; pub const PRIMITIVE_TYPE_NAME : & 'static [ u8 ; 10usize ] = b"PRIMITIVE\0" ; pub const NUMBER_TYPE_NAME : & 'static [ u8 ; 7usize ] = b"NUMBER\0" ; pub const INTEGER_TYPE_NAME : & 'static [ u8 ; 8usize ] = b"INTEGER\0" ; pub const FLOAT_TYPE_NAME : & 'static [ u8 ; 6usize ] = b"FLOAT\0" ; pub const SYMBOL_TYPE_NAME : & 'static [ u8 ; 7usize ] = b"SYMBOL\0" ; pub const STRING_TYPE_NAME : & 'static [ u8 ; 7usize ] = b"STRING\0" ; pub const MULTIFIELD_TYPE_NAME : & 'static [ u8 ; 11usize ] = b"MULTIFIELD\0" ; pub const LEXEME_TYPE_NAME : & 'static [ u8 ; 7usize ] = b"LEXEME\0" ; pub const ADDRESS_TYPE_NAME : & 'static [ u8 ; 8usize ] = b"ADDRESS\0" ; pub const EXTERNAL_ADDRESS_TYPE_NAME : & 'static [ u8 ; 17usize ] = b"EXTERNAL-ADDRESS\0" ; pub const FACT_ADDRESS_TYPE_NAME : & 'static [ u8 ; 13usize ] = b"FACT-ADDRESS\0" ; pub const INSTANCE_TYPE_NAME : & 'static [ u8 ; 9usize ] = b"INSTANCE\0" ; pub const INSTANCE_NAME_TYPE_NAME : & 'static [ u8 ; 14usize ] = b"INSTANCE-NAME\0" ; pub const INSTANCE_ADDRESS_TYPE_NAME : & 'static [ u8 ; 17usize ] = b"INSTANCE-ADDRESS\0" ; pub const OBJECT_TYPE_CODE : u32 = 9 ; pub const PRIMITIVE_TYPE_CODE : u32 = 10 ; pub const NUMBER_TYPE_CODE : u32 = 11 ; pub const LEXEME_TYPE_CODE : u32 = 12 ; pub const ADDRESS_TYPE_CODE : u32 = 13 ; pub const INSTANCE_TYPE_CODE : u32 = 14 ; pub const FLOAT_TYPE : u32 = 0 ; pub const INTEGER_TYPE : u32 = 1 ; pub const SYMBOL_TYPE : u32 = 2 ; pub const STRING_TYPE : u32 = 3 ; pub const MULTIFIELD_TYPE : u32 = 4 ; pub const EXTERNAL_ADDRESS_TYPE : u32 = 5 ; pub const FACT_ADDRESS_TYPE : u32 = 6 ; pub const INSTANCE_ADDRESS_TYPE : u32 = 7 ; pub const INSTANCE_NAME_TYPE : u32 = 8 ; pub const VOID_TYPE : u32 = 9 ; pub const BITMAP_TYPE : u32 = 11 ; pub const FCALL : u32 = 30 ; pub const GCALL : u32 = 31 ; pub const PCALL : u32 = 32 ; pub const GBL_VARIABLE : u32 = 33 ; pub const MF_GBL_VARIABLE : u32 = 34 ; pub const SF_VARIABLE : u32 = 35 ; pub const MF_VARIABLE : u32 = 36 ; pub const BITMAPARRAY : u32 = 39 ; pub const FACT_PN_CMP1 : u32 = 50 ; pub const FACT_JN_CMP1 : u32 = 51 ; pub const FACT_JN_CMP2 : u32 = 52 ; pub const FACT_SLOT_LENGTH : u32 = 53 ; pub const FACT_PN_VAR1 : u32 = 54 ; pub const FACT_PN_VAR2 : u32 = 55 ; pub const FACT_PN_VAR3 : u32 = 56 ; pub const FACT_JN_VAR1 : u32 = 57 ; pub const FACT_JN_VAR2 : u32 = 58 ; pub const FACT_JN_VAR3 : u32 = 59 ; pub const FACT_PN_CONSTANT1 : u32 = 60 ; pub const FACT_PN_CONSTANT2 : u32 = 61 ; pub const FACT_STORE_MULTIFIELD : u32 = 62 ; pub const DEFTEMPLATE_PTR : u32 = 63 ; pub const OBJ_GET_SLOT_PNVAR1 : u32 = 70 ; pub const OBJ_GET_SLOT_PNVAR2 : u32 = 71 ; pub const OBJ_GET_SLOT_JNVAR1 : u32 = 72 ; pub const OBJ_GET_SLOT_JNVAR2 : u32 = 73 ; pub const OBJ_SLOT_LENGTH : u32 = 74 ; pub const OBJ_PN_CONSTANT : u32 = 75 ; pub const OBJ_PN_CMP1 : u32 = 76 ; pub const OBJ_JN_CMP1 : u32 = 77 ; pub const OBJ_PN_CMP2 : u32 = 78 ; pub const OBJ_JN_CMP2 : u32 = 79 ; pub const OBJ_PN_CMP3 : u32 = 80 ; pub const OBJ_JN_CMP3 : u32 = 81 ; pub const DEFCLASS_PTR : u32 = 82 ; pub const HANDLER_GET : u32 = 83 ; pub const HANDLER_PUT : u32 = 84 ; pub const DEFGLOBAL_PTR : u32 = 90 ; pub const PROC_PARAM : u32 = 95 ; pub const PROC_WILD_PARAM : u32 = 96 ; pub const PROC_GET_BIND : u32 = 97 ; pub const PROC_BIND : u32 = 98 ; pub const UNKNOWN_VALUE : u32 = 173 ; pub const INTEGER_OR_FLOAT : u32 = 180 ; pub const SYMBOL_OR_STRING : u32 = 181 ; pub const INSTANCE_OR_INSTANCE_NAME : u32 = 182 ; pub const CREATOR_STRING : & 'static [ u8 ; 5usize ] = b"CLIS\0" ; pub const C_POINTER_EXTERNAL_ADDRESS : u32 = 0 ; pub const MAXIMUM_PRIMITIVES : u32 = 150 ; pub const MAXIMUM_EXTERNAL_ADDRESS_TYPES : u32 = 10 ; pub const BITS_PER_BYTE : u32 = 8 ; pub const EVALUATION_DATA : u32 = 44 ; pub const UTILITY_DATA : u32 = 55 ; pub const DEFMODULE_DATA : u32 = 4 ; pub const CONSTRUCT_DATA : u32 = 42 ; pub const EXPRESSION_HASH_SIZE : u32 = 503 ; pub const EXPRESSION_DATA : u32 = 45 ; pub const _STRING_H : u32 = 1 ; pub const _BITS_TYPES_LOCALE_T_H : u32 = 1 ; pub const _BITS_TYPES___LOCALE_T_H : u32 = 1 ; pub const _STRINGS_H : u32 = 1 ; pub const MEM_TABLE_SIZE : u32 = 500 ; pub const MEMORY_DATA : u32 = 59 ; pub const SYMBOL_HASH_SIZE : u32 = 63559 ; pub const FLOAT_HASH_SIZE : u32 = 8191 ; pub const INTEGER_HASH_SIZE : u32 = 8191 ; pub const BITMAP_HASH_SIZE : u32 = 8191 ; pub const EXTERNAL_ADDRESS_HASH_SIZE : u32 = 8191 ; pub const SYMBOL_DATA : u32 = 49 ; pub const EXTERNAL_FUNCTION_DATA : u32 = 50 ; pub const SIZE_FUNCTION_HASH : u32 = 517 ; pub const COMMANDLINE_DATA : u32 = 40 ; pub const PRINT_UTILITY_DATA : u32 = 53 ; pub const ROUTER_DATA : u32 = 46 ; pub const FILE_ROUTER_DATA : u32 = 47 ; pub const STRING_ROUTER_DATA : u32 = 48 ; pub const _SETJMP_H : u32 = 1 ; pub const _BITS_SETJMP_H : u32 = 1 ; pub const SCANNER_DATA : u32 = 57 ; pub const WATCH_DATA : u32 = 54 ; pub const BLOAD_DATA : u32 = 38 ; pub const CONSTRUCT_HEADER_SIZE : u32 = 20 ; pub const BSAVE_DATA : u32 = 39 ; pub const SIZE_PATTERN_HASH : u32 = 16231 ; pub const INITIAL_BETA_HASH_SIZE : u32 = 17 ; pub const MAX_DEFRULE_SALIENCE : u32 = 10000 ; pub const MIN_DEFRULE_SALIENCE : i32 = -10000 ; pub const AGENDA_DATA : u32 = 17 ; pub const CONSTRUCT_COMPILER_DATA : u32 = 41 ; pub const SIZE_CONSTRAINT_HASH : u32 = 167 ; pub const CONSTRAINT_DATA : u32 = 43 ; pub const ALPHA_MEMORY_HASH_SIZE : u32 = 63559 ; pub const DEFRULE_DATA : u32 = 16 ; pub const ENGINE_DATA : u32 = 18 ; pub const MAX_PATTERNS_CHECKED : u32 = 64 ; pub const DEFFACTS_DATA : u32 = 0 ; pub const DEFTEMPLATE_DATA : u32 = 5 ; pub const SIZE_FACT_HASH : u32 = 16231 ; pub const FACTS_DATA : u32 = 3 ; pub const DEFGLOBAL_DATA : u32 = 1 ; pub const DEFFUNCTION_DATA : u32 = 23 ; pub const DEFGENERIC_DATA : u32 = 27 ; pub const MAX_TRAVERSALS : u32 = 256 ; pub const TRAVERSAL_BYTES : u32 = 32 ; pub const VALUE_REQUIRED : u32 = 0 ; pub const VALUE_PROHIBITED : u32 = 1 ; pub const VALUE_NOT_REQUIRED : u32 = 2 ; pub const OBJECT_ASSERT : u32 = 1 ; pub const OBJECT_RETRACT : u32 = 2 ; pub const OBJECT_MODIFY : u32 = 3 ; pub const CLASS_TABLE_HASH_SIZE : u32 = 167 ; pub const SLOT_NAME_TABLE_HASH_SIZE : u32 = 167 ; pub const ISA_ID : u32 = 0 ; pub const NAME_ID : u32 = 1 ; pub const DEFCLASS_DATA : u32 = 21 ; pub const PRIMITIVE_CLASSES : u32 = 9 ; pub const DEFINSTANCES_DATA : u32 = 22 ; pub const INSTANCE_TABLE_HASH_SIZE : u32 = 8191 ; pub const INSTANCE_DATA : u32 = 29 ; pub const INSTANCE_FILE_DATA : u32 = 30 ; pub const MESSAGE_HANDLER_DATA : u32 = 32 ; pub const INIT_STRING : & 'static [ u8 ; 5usize ] = b"init\0" ; pub const DELETE_STRING : & 'static [ u8 ; 7usize ] = b"delete\0" ; pub const PRINT_STRING : & 'static [ u8 ; 6usize ] = b"print\0" ; pub const CREATE_STRING : & 'static [ u8 ; 7usize ] = b"create\0" ; pub type size_t = :: std :: os :: raw :: c_ulong ; pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct __fsid_t { pub __val : [ :: std :: os :: raw :: c_int ; 2usize ] , } # [ test ] fn bindgen_test_layout___fsid_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __fsid_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __fsid_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __fsid_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __fsid_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __fsid_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type __FILE = _IO_FILE ; pub type FILE = _IO_FILE ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __mbstate_t { pub __count : :: std :: os :: raw :: c_int , pub __value : __mbstate_t__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __mbstate_t__bindgen_ty_1 { pub __wch : :: std :: os :: raw :: c_uint , pub __wchb : [ :: std :: os :: raw :: c_char ; 4usize ] , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout___mbstate_t__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t__bindgen_ty_1 > ( ) ) ) . __wchb as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t__bindgen_ty_1 ) , "::" , stringify ! ( __wchb ) ) ) ; } impl Default for __mbstate_t__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for __mbstate_t__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "__mbstate_t__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout___mbstate_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __mbstate_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __mbstate_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __mbstate_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __count as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __mbstate_t > ( ) ) ) . __value as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __mbstate_t ) , "::" , stringify ! ( __value ) ) ) ; } impl Default for __mbstate_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for __mbstate_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "__mbstate_t {{ __count: {:?}, __value: {:?} }}" , self . __count , self . __value ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos_t { pub __pos : __off_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos_t ) , "::" , stringify ! ( __state ) ) ) ; } impl Default for _G_fpos_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for _G_fpos_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "_G_fpos_t {{ __pos: {:?}, __state: {:?} }}" , self . __pos , self . __state ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct _G_fpos64_t { pub __pos : __off64_t , pub __state : __mbstate_t , } # [ test ] fn bindgen_test_layout__G_fpos64_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _G_fpos64_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _G_fpos64_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _G_fpos64_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __pos as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __pos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _G_fpos64_t > ( ) ) ) . __state as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _G_fpos64_t ) , "::" , stringify ! ( __state ) ) ) ; } impl Default for _G_fpos64_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for _G_fpos64_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "_G_fpos64_t {{ __pos: {:?}, __state: {:?} }}" , self . __pos , self . __state ) } } pub type va_list = __builtin_va_list ; pub type __gnuc_va_list = __builtin_va_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_jump_t { _unused : [ u8 ; 0 ] , } pub type _IO_lock_t = :: std :: os :: raw :: c_void ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_marker { pub _next : * mut _IO_marker , pub _sbuf : * mut _IO_FILE , pub _pos : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout__IO_marker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_marker > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_marker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _sbuf as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _sbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_marker > ( ) ) ) . _pos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_marker ) , "::" , stringify ! ( _pos ) ) ) ; } impl Default for _IO_marker { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub const __codecvt_result___codecvt_ok : __codecvt_result = 0 ; pub const __codecvt_result___codecvt_partial : __codecvt_result = 1 ; pub const __codecvt_result___codecvt_error : __codecvt_result = 2 ; pub const __codecvt_result___codecvt_noconv : __codecvt_result = 3 ; pub type __codecvt_result = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE { pub _flags : :: std :: os :: raw :: c_int , pub _IO_read_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_read_end : * mut :: std :: os :: raw :: c_char , pub _IO_read_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_base : * mut :: std :: os :: raw :: c_char , pub _IO_write_ptr : * mut :: std :: os :: raw :: c_char , pub _IO_write_end : * mut :: std :: os :: raw :: c_char , pub _IO_buf_base : * mut :: std :: os :: raw :: c_char , pub _IO_buf_end : * mut :: std :: os :: raw :: c_char , pub _IO_save_base : * mut :: std :: os :: raw :: c_char , pub _IO_backup_base : * mut :: std :: os :: raw :: c_char , pub _IO_save_end : * mut :: std :: os :: raw :: c_char , pub _markers : * mut _IO_marker , pub _chain : * mut _IO_FILE , pub _fileno : :: std :: os :: raw :: c_int , pub _flags2 : :: std :: os :: raw :: c_int , pub _old_offset : __off_t , pub _cur_column : :: std :: os :: raw :: c_ushort , pub _vtable_offset : :: std :: os :: raw :: c_schar , pub _shortbuf : [ :: std :: os :: raw :: c_char ; 1usize ] , pub _lock : * mut _IO_lock_t , pub _offset : __off64_t , pub __pad1 : * mut :: std :: os :: raw :: c_void , pub __pad2 : * mut :: std :: os :: raw :: c_void , pub __pad3 : * mut :: std :: os :: raw :: c_void , pub __pad4 : * mut :: std :: os :: raw :: c_void , pub __pad5 : size_t , pub _mode : :: std :: os :: raw :: c_int , pub _unused2 : [ :: std :: os :: raw :: c_char ; 20usize ] , } # [ test ] fn bindgen_test_layout__IO_FILE ( ) { assert_eq ! ( :: std :: mem :: size_of :: < _IO_FILE > ( ) , 216usize , concat ! ( "Size of: " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < _IO_FILE > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( _IO_FILE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_ptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_end as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_read_base as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_read_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_base as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_ptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_write_end as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_write_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_base as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_buf_end as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_buf_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_base as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_backup_base as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_backup_base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _IO_save_end as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _IO_save_end ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _markers as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _markers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _chain as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _chain ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _fileno as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _fileno ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _flags2 as * const _ as usize } , 116usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _flags2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _old_offset as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _old_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _cur_column as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _cur_column ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _vtable_offset as * const _ as usize } , 130usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _vtable_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _shortbuf as * const _ as usize } , 131usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _shortbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _lock as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _offset as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad1 as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad2 as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad3 as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad4 as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . __pad5 as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( __pad5 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _mode as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _mode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < _IO_FILE > ( ) ) ) . _unused2 as * const _ as usize } , 196usize , concat ! ( "Offset of field: " , stringify ! ( _IO_FILE ) , "::" , stringify ! ( _unused2 ) ) ) ; } impl Default for _IO_FILE { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct _IO_FILE_plus { _unused : [ u8 ; 0 ] , } extern "C" { pub static mut _IO_2_1_stdin_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stdout_ : _IO_FILE_plus ; } extern "C" { pub static mut _IO_2_1_stderr_ : _IO_FILE_plus ; } pub type __io_read_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * mut :: std :: os :: raw :: c_char , __nbytes : size_t ) -> __ssize_t > ; pub type __io_write_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __buf : * const :: std :: os :: raw :: c_char , __n : size_t ) -> __ssize_t > ; pub type __io_seek_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void , __pos : * mut __off64_t , __w : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int > ; pub type __io_close_fn = :: std :: option :: Option < unsafe extern "C" fn ( __cookie : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn __underflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __uflow ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __overflow ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_getc ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_putc ( __c : :: std :: os :: raw :: c_int , __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_feof ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_ferror ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_peekc_locked ( __fp : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_flockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_funlockfile ( arg1 : * mut _IO_FILE ) ; } extern "C" { pub fn _IO_ftrylockfile ( arg1 : * mut _IO_FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfscanf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag , arg4 : * mut :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_vfprintf ( arg1 : * mut _IO_FILE , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _IO_padn ( arg1 : * mut _IO_FILE , arg2 : :: std :: os :: raw :: c_int , arg3 : __ssize_t ) -> __ssize_t ; } extern "C" { pub fn _IO_sgetn ( arg1 : * mut _IO_FILE , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : size_t ) -> size_t ; } extern "C" { pub fn _IO_seekoff ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_seekpos ( arg1 : * mut _IO_FILE , arg2 : __off64_t , arg3 : :: std :: os :: raw :: c_int ) -> __off64_t ; } extern "C" { pub fn _IO_free_backup_area ( arg1 : * mut _IO_FILE ) ; } pub type off_t = __off_t ; pub type ssize_t = __ssize_t ; pub type fpos_t = _G_fpos_t ; extern "C" { pub static mut stdin : * mut _IO_FILE ; } extern "C" { pub static mut stdout : * mut _IO_FILE ; } extern "C" { pub static mut stderr : * mut _IO_FILE ; } extern "C" { pub fn remove ( __filename : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rename ( __old : * const :: std :: os :: raw :: c_char , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn renameat ( __oldfd : :: std :: os :: raw :: c_int , __old : * const :: std :: os :: raw :: c_char , __newfd : :: std :: os :: raw :: c_int , __new : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn tmpfile ( ) -> * mut FILE ; } extern "C" { pub fn tmpnam ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tmpnam_r ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn tempnam ( __dir : * const :: std :: os :: raw :: c_char , __pfx : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fflush_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn freopen ( __filename : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> * mut FILE ; } extern "C" { pub fn fdopen ( __fd : :: std :: os :: raw :: c_int , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn fmemopen ( __s : * mut :: std :: os :: raw :: c_void , __len : size_t , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn open_memstream ( __bufloc : * mut * mut :: std :: os :: raw :: c_char , __sizeloc : * mut size_t ) -> * mut FILE ; } extern "C" { pub fn setbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn setvbuf ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __modes : :: std :: os :: raw :: c_int , __n : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setbuffer ( __stream : * mut FILE , __buf : * mut :: std :: os :: raw :: c_char , __size : size_t ) ; } extern "C" { pub fn setlinebuf ( __stream : * mut FILE ) ; } extern "C" { pub fn fprintf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn printf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfprintf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vprintf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsprintf ( __s : * mut :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn snprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsnprintf ( __s : * mut :: std :: os :: raw :: c_char , __maxlen : :: std :: os :: raw :: c_ulong , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vdprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn dprintf ( __fd : :: std :: os :: raw :: c_int , __fmt : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fscanf ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn scanf ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_fscanf" ] pub fn fscanf1 ( __stream : * mut FILE , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_scanf" ] pub fn scanf1 ( __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_sscanf" ] pub fn sscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vfscanf ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vscanf ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn vsscanf ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vfscanf" ] pub fn vfscanf1 ( __s : * mut FILE , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vscanf" ] pub fn vscanf1 ( __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { # [ link_name = "\u{1}__isoc99_vsscanf" ] pub fn vsscanf1 ( __s : * const :: std :: os :: raw :: c_char , __format : * const :: std :: os :: raw :: c_char , __arg : * mut __va_list_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getchar_unlocked ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgetc_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fputc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putc_unlocked ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putchar_unlocked ( __c : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getw ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn putw ( __w : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fgets ( __s : * mut :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut size_t , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getdelim ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut size_t , __delimiter : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn getline ( __lineptr : * mut * mut :: std :: os :: raw :: c_char , __n : * mut size_t , __stream : * mut FILE ) -> __ssize_t ; } extern "C" { pub fn fputs ( __s : * const :: std :: os :: raw :: c_char , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn puts ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ungetc ( __c : :: std :: os :: raw :: c_int , __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fread ( __ptr : * mut :: std :: os :: raw :: c_void , __size : size_t , __n : size_t , __stream : * mut FILE ) -> size_t ; } extern "C" { pub fn fwrite ( __ptr : * const :: std :: os :: raw :: c_void , __size : size_t , __n : size_t , __s : * mut FILE ) -> size_t ; } extern "C" { pub fn fread_unlocked ( __ptr : * mut :: std :: os :: raw :: c_void , __size : size_t , __n : size_t , __stream : * mut FILE ) -> size_t ; } extern "C" { pub fn fwrite_unlocked ( __ptr : * const :: std :: os :: raw :: c_void , __size : size_t , __n : size_t , __stream : * mut FILE ) -> size_t ; } extern "C" { pub fn fseek ( __stream : * mut FILE , __off : :: std :: os :: raw :: c_long , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftell ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn rewind ( __stream : * mut FILE ) ; } extern "C" { pub fn fseeko ( __stream : * mut FILE , __off : __off_t , __whence : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ftello ( __stream : * mut FILE ) -> __off_t ; } extern "C" { pub fn fgetpos ( __stream : * mut FILE , __pos : * mut fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fsetpos ( __stream : * mut FILE , __pos : * const fpos_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr ( __stream : * mut FILE ) ; } extern "C" { pub fn feof ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearerr_unlocked ( __stream : * mut FILE ) ; } extern "C" { pub fn feof_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ferror_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn perror ( __s : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub static mut sys_nerr : :: std :: os :: raw :: c_int ; } extern "C" { pub static mut sys_errlist : [ * const :: std :: os :: raw :: c_char ; 0usize ] ; } extern "C" { pub fn fileno ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fileno_unlocked ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn popen ( __command : * const :: std :: os :: raw :: c_char , __modes : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn pclose ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ctermid ( __s : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn flockfile ( __stream : * mut FILE ) ; } extern "C" { pub fn ftrylockfile ( __stream : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn funlockfile ( __stream : * mut FILE ) ; } pub type wchar_t = :: std :: os :: raw :: c_int ; pub const idtype_t_P_ALL : idtype_t = 0 ; pub const idtype_t_P_PID : idtype_t = 1 ; pub const idtype_t_P_PGID : idtype_t = 2 ; pub type idtype_t = u32 ; pub type _Float32 = f32 ; pub type _Float64 = f64 ; pub type _Float32x = f64 ; pub type _Float64x = u128 ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct div_t { pub quot : :: std :: os :: raw :: c_int , pub rem : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_div_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < div_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( div_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < div_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( div_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < div_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( div_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < div_t > ( ) ) ) . rem as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( div_t ) , "::" , stringify ! ( rem ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct ldiv_t { pub quot : :: std :: os :: raw :: c_long , pub rem : :: std :: os :: raw :: c_long , } # [ test ] fn bindgen_test_layout_ldiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ldiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( ldiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ldiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ldiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ldiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ldiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ldiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ldiv_t ) , "::" , stringify ! ( rem ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct lldiv_t { pub quot : :: std :: os :: raw :: c_longlong , pub rem : :: std :: os :: raw :: c_longlong , } # [ test ] fn bindgen_test_layout_lldiv_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < lldiv_t > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( lldiv_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < lldiv_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( lldiv_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lldiv_t > ( ) ) ) . quot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( lldiv_t ) , "::" , stringify ! ( quot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < lldiv_t > ( ) ) ) . rem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( lldiv_t ) , "::" , stringify ! ( rem ) ) ) ; } extern "C" { pub fn __ctype_get_mb_cur_max ( ) -> size_t ; } extern "C" { pub fn atof ( __nptr : * const :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn atoi ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn atol ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn atoll ( __nptr : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtod ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f64 ; } extern "C" { pub fn strtof ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> f32 ; } extern "C" { pub fn strtold ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char ) -> u128 ; } extern "C" { pub fn strtol ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn strtoul ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strtoq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtouq ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn strtoll ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn strtoull ( __nptr : * const :: std :: os :: raw :: c_char , __endptr : * mut * mut :: std :: os :: raw :: c_char , __base : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_ulonglong ; } extern "C" { pub fn l64a ( __n : :: std :: os :: raw :: c_long ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn a64l ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } pub type u_char = __u_char ; pub type u_short = __u_short ; pub type u_int = __u_int ; pub type u_long = __u_long ; pub type quad_t = __quad_t ; pub type u_quad_t = __u_quad_t ; pub type fsid_t = __fsid_t ; pub type loff_t = __loff_t ; pub type ino_t = __ino_t ; pub type dev_t = __dev_t ; pub type gid_t = __gid_t ; pub type mode_t = __mode_t ; pub type nlink_t = __nlink_t ; pub type uid_t = __uid_t ; pub type pid_t = __pid_t ; pub type id_t = __id_t ; pub type daddr_t = __daddr_t ; pub type caddr_t = __caddr_t ; pub type key_t = __key_t ; pub type clock_t = __clock_t ; pub type clockid_t = __clockid_t ; pub type time_t = __time_t ; pub type timer_t = __timer_t ; pub type ulong = :: std :: os :: raw :: c_ulong ; pub type ushort = :: std :: os :: raw :: c_ushort ; pub type uint = :: std :: os :: raw :: c_uint ; pub type u_int8_t = :: std :: os :: raw :: c_uchar ; pub type u_int16_t = :: std :: os :: raw :: c_ushort ; pub type u_int32_t = :: std :: os :: raw :: c_uint ; pub type u_int64_t = :: std :: os :: raw :: c_ulong ; pub type register_t = :: std :: os :: raw :: c_long ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct __sigset_t { pub __val : [ :: std :: os :: raw :: c_ulong ; 16usize ] , } # [ test ] fn bindgen_test_layout___sigset_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __sigset_t > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( __sigset_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __sigset_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __sigset_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __sigset_t > ( ) ) ) . __val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __sigset_t ) , "::" , stringify ! ( __val ) ) ) ; } pub type sigset_t = __sigset_t ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct timeval { pub tv_sec : __time_t , pub tv_usec : __suseconds_t , } # [ test ] fn bindgen_test_layout_timeval ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timeval > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timeval ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timeval > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timeval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timeval > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timeval ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timeval > ( ) ) ) . tv_usec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timeval ) , "::" , stringify ! ( tv_usec ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct timespec { pub tv_sec : __time_t , pub tv_nsec : __syscall_slong_t , } # [ test ] fn bindgen_test_layout_timespec ( ) { assert_eq ! ( :: std :: mem :: size_of :: < timespec > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( timespec ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < timespec > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( timespec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_sec as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_sec ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < timespec > ( ) ) ) . tv_nsec as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( timespec ) , "::" , stringify ! ( tv_nsec ) ) ) ; } pub type suseconds_t = __suseconds_t ; pub type __fd_mask = :: std :: os :: raw :: c_long ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct fd_set { pub __fds_bits : [ __fd_mask ; 16usize ] , } # [ test ] fn bindgen_test_layout_fd_set ( ) { assert_eq ! ( :: std :: mem :: size_of :: < fd_set > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( fd_set ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < fd_set > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( fd_set ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fd_set > ( ) ) ) . __fds_bits as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( fd_set ) , "::" , stringify ! ( __fds_bits ) ) ) ; } pub type fd_mask = __fd_mask ; extern "C" { pub fn select ( __nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * mut timeval ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn pselect ( __nfds : :: std :: os :: raw :: c_int , __readfds : * mut fd_set , __writefds : * mut fd_set , __exceptfds : * mut fd_set , __timeout : * const timespec , __sigmask : * const __sigset_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn gnu_dev_major ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_minor ( __dev : __dev_t ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn gnu_dev_makedev ( __major : :: std :: os :: raw :: c_uint , __minor : :: std :: os :: raw :: c_uint ) -> __dev_t ; } pub type blksize_t = __blksize_t ; pub type blkcnt_t = __blkcnt_t ; pub type fsblkcnt_t = __fsblkcnt_t ; pub type fsfilcnt_t = __fsfilcnt_t ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct __pthread_rwlock_arch_t { pub __readers : :: std :: os :: raw :: c_uint , pub __writers : :: std :: os :: raw :: c_uint , pub __wrphase_futex : :: std :: os :: raw :: c_uint , pub __writers_futex : :: std :: os :: raw :: c_uint , pub __pad3 : :: std :: os :: raw :: c_uint , pub __pad4 : :: std :: os :: raw :: c_uint , pub __cur_writer : :: std :: os :: raw :: c_int , pub __shared : :: std :: os :: raw :: c_int , pub __rwelision : :: std :: os :: raw :: c_schar , pub __pad1 : [ :: std :: os :: raw :: c_uchar ; 7usize ] , pub __pad2 : :: std :: os :: raw :: c_ulong , pub __flags : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_rwlock_arch_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_rwlock_arch_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( __pthread_rwlock_arch_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_rwlock_arch_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_rwlock_arch_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __readers as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __readers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __writers as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __writers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __wrphase_futex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __wrphase_futex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __writers_futex as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __writers_futex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad3 as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad3 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad4 as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad4 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __cur_writer as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __cur_writer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __shared as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __shared ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __rwelision as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __rwelision ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad1 as * const _ as usize } , 33usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __pad2 as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __pad2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_rwlock_arch_t > ( ) ) ) . __flags as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_rwlock_arch_t ) , "::" , stringify ! ( __flags ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_internal_list { pub __prev : * mut __pthread_internal_list , pub __next : * mut __pthread_internal_list , } # [ test ] fn bindgen_test_layout___pthread_internal_list ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_internal_list > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( __pthread_internal_list ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_internal_list > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_internal_list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_list > ( ) ) ) . __prev as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_list ) , "::" , stringify ! ( __prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_internal_list > ( ) ) ) . __next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_internal_list ) , "::" , stringify ! ( __next ) ) ) ; } impl Default for __pthread_internal_list { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type __pthread_list_t = __pthread_internal_list ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __pthread_mutex_s { pub __lock : :: std :: os :: raw :: c_int , pub __count : :: std :: os :: raw :: c_uint , pub __owner : :: std :: os :: raw :: c_int , pub __nusers : :: std :: os :: raw :: c_uint , pub __kind : :: std :: os :: raw :: c_int , pub __spins : :: std :: os :: raw :: c_short , pub __elision : :: std :: os :: raw :: c_short , pub __list : __pthread_list_t , } # [ test ] fn bindgen_test_layout___pthread_mutex_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_mutex_s > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( __pthread_mutex_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_mutex_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_mutex_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __lock as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __lock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __owner as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __owner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __nusers as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __nusers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __kind as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __kind ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __spins as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __spins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __elision as * const _ as usize } , 22usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __elision ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_mutex_s > ( ) ) ) . __list as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_mutex_s ) , "::" , stringify ! ( __list ) ) ) ; } impl Default for __pthread_mutex_s { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct __pthread_cond_s { pub __bindgen_anon_1 : __pthread_cond_s__bindgen_ty_1 , pub __bindgen_anon_2 : __pthread_cond_s__bindgen_ty_2 , pub __g_refs : [ :: std :: os :: raw :: c_uint ; 2usize ] , pub __g_size : [ :: std :: os :: raw :: c_uint ; 2usize ] , pub __g1_orig_size : :: std :: os :: raw :: c_uint , pub __wrefs : :: std :: os :: raw :: c_uint , pub __g_signals : [ :: std :: os :: raw :: c_uint ; 2usize ] , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_1 { pub __wseq : :: std :: os :: raw :: c_ulonglong , pub __wseq32 : __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_1 > ( ) ) ) . __wseq32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_1 ) , "::" , stringify ! ( __wseq32 ) ) ) ; } impl Default for __pthread_cond_s__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for __pthread_cond_s__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "__pthread_cond_s__bindgen_ty_1 {{ union }}" ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union __pthread_cond_s__bindgen_ty_2 { pub __g1_start : :: std :: os :: raw :: c_ulonglong , pub __g1_start32 : __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 , _bindgen_union_align : u64 , } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 { pub __low : :: std :: os :: raw :: c_uint , pub __high : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __low as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __low ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 > ( ) ) ) . __high as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 ) , "::" , stringify ! ( __high ) ) ) ; } # [ test ] fn bindgen_test_layout___pthread_cond_s__bindgen_ty_2 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s__bindgen_ty_2 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s__bindgen_ty_2 > ( ) ) ) . __g1_start32 as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s__bindgen_ty_2 ) , "::" , stringify ! ( __g1_start32 ) ) ) ; } impl Default for __pthread_cond_s__bindgen_ty_2 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for __pthread_cond_s__bindgen_ty_2 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "__pthread_cond_s__bindgen_ty_2 {{ union }}" ) } } # [ test ] fn bindgen_test_layout___pthread_cond_s ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __pthread_cond_s > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( __pthread_cond_s ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __pthread_cond_s > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __pthread_cond_s ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_refs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_refs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_size as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g1_orig_size as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g1_orig_size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __wrefs as * const _ as usize } , 36usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __wrefs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __pthread_cond_s > ( ) ) ) . __g_signals as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( __pthread_cond_s ) , "::" , stringify ! ( __g_signals ) ) ) ; } impl Default for __pthread_cond_s { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for __pthread_cond_s { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "__pthread_cond_s {{ __bindgen_anon_1: {:?}, __bindgen_anon_2: {:?}, __g_refs: {:?}, __g_size: {:?}, __g1_orig_size: {:?}, __wrefs: {:?}, __g_signals: {:?} }}" , self . __bindgen_anon_1 , self . __bindgen_anon_2 , self . __g_refs , self . __g_size , self . __g1_orig_size , self . __wrefs , self . __g_signals ) } } pub type pthread_t = :: std :: os :: raw :: c_ulong ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_mutexattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_mutexattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_mutexattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_mutexattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_mutexattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_mutexattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutexattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutexattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutexattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutexattr_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_mutexattr_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_mutexattr_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_mutexattr_t {{ union }}" ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_condattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_condattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_condattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_condattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_condattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_condattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_condattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_condattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_condattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_condattr_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_condattr_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_condattr_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_condattr_t {{ union }}" ) } } pub type pthread_key_t = :: std :: os :: raw :: c_uint ; pub type pthread_once_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_attr_t { pub __size : [ :: std :: os :: raw :: c_char ; 56usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 7usize ] , } # [ test ] fn bindgen_test_layout_pthread_attr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_attr_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( pthread_attr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_attr_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_attr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_attr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_attr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_attr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_attr_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_attr_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_attr_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_attr_t {{ union }}" ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_mutex_t { pub __data : __pthread_mutex_s , pub __size : [ :: std :: os :: raw :: c_char ; 40usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 5usize ] , } # [ test ] fn bindgen_test_layout_pthread_mutex_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_mutex_t > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( pthread_mutex_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_mutex_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_mutex_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_mutex_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_mutex_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_mutex_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_mutex_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_mutex_t {{ union }}" ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_cond_t { pub __data : __pthread_cond_s , pub __size : [ :: std :: os :: raw :: c_char ; 48usize ] , pub __align : :: std :: os :: raw :: c_longlong , _bindgen_union_align : [ u64 ; 6usize ] , } # [ test ] fn bindgen_test_layout_pthread_cond_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_cond_t > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( pthread_cond_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_cond_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_cond_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_cond_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_cond_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_cond_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_cond_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_cond_t {{ union }}" ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_rwlock_t { pub __data : __pthread_rwlock_arch_t , pub __size : [ :: std :: os :: raw :: c_char ; 56usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 7usize ] , } # [ test ] fn bindgen_test_layout_pthread_rwlock_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_rwlock_t > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( pthread_rwlock_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_rwlock_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_rwlock_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __data as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlock_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlock_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_rwlock_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_rwlock_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_rwlock_t {{ union }}" ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_rwlockattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 8usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_pthread_rwlockattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_rwlockattr_t > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( pthread_rwlockattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_rwlockattr_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_rwlockattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlockattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlockattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_rwlockattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_rwlockattr_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_rwlockattr_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_rwlockattr_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_rwlockattr_t {{ union }}" ) } } pub type pthread_spinlock_t = :: std :: os :: raw :: c_int ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_barrier_t { pub __size : [ :: std :: os :: raw :: c_char ; 32usize ] , pub __align : :: std :: os :: raw :: c_long , _bindgen_union_align : [ u64 ; 4usize ] , } # [ test ] fn bindgen_test_layout_pthread_barrier_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_barrier_t > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( pthread_barrier_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_barrier_t > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( pthread_barrier_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrier_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrier_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrier_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrier_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_barrier_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_barrier_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_barrier_t {{ union }}" ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union pthread_barrierattr_t { pub __size : [ :: std :: os :: raw :: c_char ; 4usize ] , pub __align : :: std :: os :: raw :: c_int , _bindgen_union_align : u32 , } # [ test ] fn bindgen_test_layout_pthread_barrierattr_t ( ) { assert_eq ! ( :: std :: mem :: size_of :: < pthread_barrierattr_t > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( pthread_barrierattr_t ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < pthread_barrierattr_t > ( ) , 4usize , concat ! ( "Alignment of " , stringify ! ( pthread_barrierattr_t ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrierattr_t > ( ) ) ) . __size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrierattr_t ) , "::" , stringify ! ( __size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < pthread_barrierattr_t > ( ) ) ) . __align as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( pthread_barrierattr_t ) , "::" , stringify ! ( __align ) ) ) ; } impl Default for pthread_barrierattr_t { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for pthread_barrierattr_t { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "pthread_barrierattr_t {{ union }}" ) } } extern "C" { pub fn random ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srandom ( __seed : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn initstate ( __seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn setstate ( __statebuf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct random_data { pub fptr : * mut i32 , pub rptr : * mut i32 , pub state : * mut i32 , pub rand_type : :: std :: os :: raw :: c_int , pub rand_deg : :: std :: os :: raw :: c_int , pub rand_sep : :: std :: os :: raw :: c_int , pub end_ptr : * mut i32 , } # [ test ] fn bindgen_test_layout_random_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < random_data > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( random_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < random_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( random_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . fptr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( fptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rptr as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rptr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . state as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( state ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_type as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_type ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_deg as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_deg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . rand_sep as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( rand_sep ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < random_data > ( ) ) ) . end_ptr as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( random_data ) , "::" , stringify ! ( end_ptr ) ) ) ; } impl Default for random_data { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn random_r ( __buf : * mut random_data , __result : * mut i32 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srandom_r ( __seed : :: std :: os :: raw :: c_uint , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn initstate_r ( __seed : :: std :: os :: raw :: c_uint , __statebuf : * mut :: std :: os :: raw :: c_char , __statelen : size_t , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setstate_r ( __statebuf : * mut :: std :: os :: raw :: c_char , __buf : * mut random_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn rand ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand ( __seed : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn rand_r ( __seed : * mut :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn drand48 ( ) -> f64 ; } extern "C" { pub fn erand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> f64 ; } extern "C" { pub fn lrand48 ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn nrand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn mrand48 ( ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn jrand48 ( __xsubi : * mut :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn srand48 ( __seedval : :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn seed48 ( __seed16v : * mut :: std :: os :: raw :: c_ushort ) -> * mut :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn lcong48 ( __param : * mut :: std :: os :: raw :: c_ushort ) ; } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct drand48_data { pub __x : [ :: std :: os :: raw :: c_ushort ; 3usize ] , pub __old_x : [ :: std :: os :: raw :: c_ushort ; 3usize ] , pub __c : :: std :: os :: raw :: c_ushort , pub __init : :: std :: os :: raw :: c_ushort , pub __a : :: std :: os :: raw :: c_ulonglong , } # [ test ] fn bindgen_test_layout_drand48_data ( ) { assert_eq ! ( :: std :: mem :: size_of :: < drand48_data > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( drand48_data ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < drand48_data > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( drand48_data ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __x as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __old_x as * const _ as usize } , 6usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __old_x ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __c as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __c ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __init as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __init ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < drand48_data > ( ) ) ) . __a as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( drand48_data ) , "::" , stringify ! ( __a ) ) ) ; } extern "C" { pub fn drand48_r ( __buffer : * mut drand48_data , __result : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn erand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut f64 ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lrand48_r ( __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn nrand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mrand48_r ( __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn jrand48_r ( __xsubi : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data , __result : * mut :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn srand48_r ( __seedval : :: std :: os :: raw :: c_long , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn seed48_r ( __seed16v : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn lcong48_r ( __param : * mut :: std :: os :: raw :: c_ushort , __buffer : * mut drand48_data ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn malloc ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn calloc ( __nmemb : :: std :: os :: raw :: c_ulong , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn realloc ( __ptr : * mut :: std :: os :: raw :: c_void , __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn free ( __ptr : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn alloca ( __size : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn valloc ( __size : size_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn posix_memalign ( __memptr : * mut * mut :: std :: os :: raw :: c_void , __alignment : size_t , __size : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn aligned_alloc ( __alignment : size_t , __size : size_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn abort ( ) ; } extern "C" { pub fn atexit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn at_quick_exit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( ) > ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn on_exit ( __func : :: std :: option :: Option < unsafe extern "C" fn ( __status : :: std :: os :: raw :: c_int , __arg : * mut :: std :: os :: raw :: c_void ) > , __arg : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn quick_exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn _Exit ( __status : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn getenv ( __name : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn putenv ( __string : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn setenv ( __name : * const :: std :: os :: raw :: c_char , __value : * const :: std :: os :: raw :: c_char , __replace : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn unsetenv ( __name : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn clearenv ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mktemp ( __template : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn mkstemp ( __template : * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkstemps ( __template : * mut :: std :: os :: raw :: c_char , __suffixlen : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mkdtemp ( __template : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn system ( __command : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn realpath ( __name : * const :: std :: os :: raw :: c_char , __resolved : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } pub type __compar_fn_t = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * const :: std :: os :: raw :: c_void , arg2 : * const :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub fn bsearch ( __key : * const :: std :: os :: raw :: c_void , __base : * const :: std :: os :: raw :: c_void , __nmemb : size_t , __size : size_t , __compar : __compar_fn_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn qsort ( __base : * mut :: std :: os :: raw :: c_void , __nmemb : size_t , __size : size_t , __compar : __compar_fn_t ) ; } extern "C" { pub fn abs ( __x : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn labs ( __x : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn llabs ( __x : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn div ( __numer : :: std :: os :: raw :: c_int , __denom : :: std :: os :: raw :: c_int ) -> div_t ; } extern "C" { pub fn ldiv ( __numer : :: std :: os :: raw :: c_long , __denom : :: std :: os :: raw :: c_long ) -> ldiv_t ; } extern "C" { pub fn lldiv ( __numer : :: std :: os :: raw :: c_longlong , __denom : :: std :: os :: raw :: c_longlong ) -> lldiv_t ; } extern "C" { pub fn ecvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn fcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn gcvt ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qecvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qfcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn qgcvt ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ecvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn fcvt_r ( __value : f64 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qecvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn qfcvt_r ( __value : u128 , __ndigit : :: std :: os :: raw :: c_int , __decpt : * mut :: std :: os :: raw :: c_int , __sign : * mut :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __len : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mblen ( __s : * const :: std :: os :: raw :: c_char , __n : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbtowc ( __pwc : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn wctomb ( __s : * mut :: std :: os :: raw :: c_char , __wchar : wchar_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn mbstowcs ( __pwcs : * mut wchar_t , __s : * const :: std :: os :: raw :: c_char , __n : size_t ) -> size_t ; } extern "C" { pub fn wcstombs ( __s : * mut :: std :: os :: raw :: c_char , __pwcs : * const wchar_t , __n : size_t ) -> size_t ; } extern "C" { pub fn rpmatch ( __response : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getsubopt ( __optionp : * mut * mut :: std :: os :: raw :: c_char , __tokens : * const * mut :: std :: os :: raw :: c_char , __valuep : * mut * mut :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn getloadavg ( __loadavg : * mut f64 , __nelem : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } pub type Environment = environmentData ; pub type EnvironmentCleanupFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > ; pub type CLIPSVoid = clipsVoid ; pub type CLIPSLexeme = clipsLexeme ; pub type CLIPSFloat = clipsFloat ; pub type CLIPSInteger = clipsInteger ; pub type CLIPSBitMap = clipsBitMap ; pub type CLIPSExternalAddress = clipsExternalAddress ; pub type TypeHeader = typeHeader ; pub type Multifield = multifield ; pub type CLIPSValue = clipsValue ; pub type UDFValue = udfValue ; pub type Fact = fact ; pub type Instance = instance ; pub type Expression = expr ; pub type FunctionDefinition = functionDefinition ; pub type UDFContext = udfContext ; pub type EntityRecord = entityRecord ; pub type EntityPrintFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_void ) > ; pub type EntityEvaluationFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : * mut UDFValue ) -> bool > ; pub type EntityBusyCountFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) > ; pub type PatternEntityRecord = patternEntityRecord ; pub type PatternEntity = patternEntity ; pub type BoolCallFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) -> bool > ; pub type VoidCallFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) > ; pub type VoidCallFunctionWithArg = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : * mut :: std :: os :: raw :: c_void ) > ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct typeHeader { pub type_ : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_typeHeader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < typeHeader > ( ) , 2usize , concat ! ( "Size of: " , stringify ! ( typeHeader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < typeHeader > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( typeHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < typeHeader > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( typeHeader ) , "::" , stringify ! ( type_ ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct clipsVoid { pub header : TypeHeader , } # [ test ] fn bindgen_test_layout_clipsVoid ( ) { assert_eq ! ( :: std :: mem :: size_of :: < clipsVoid > ( ) , 2usize , concat ! ( "Size of: " , stringify ! ( clipsVoid ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < clipsVoid > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( clipsVoid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsVoid > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsVoid ) , "::" , stringify ! ( header ) ) ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct clipsLexeme { pub header : TypeHeader , pub next : * mut CLIPSLexeme , pub count : :: std :: os :: raw :: c_long , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > , pub contents : * const :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_clipsLexeme ( ) { assert_eq ! ( :: std :: mem :: size_of :: < clipsLexeme > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( clipsLexeme ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < clipsLexeme > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( clipsLexeme ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsLexeme > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsLexeme ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsLexeme > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( clipsLexeme ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsLexeme > ( ) ) ) . count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( clipsLexeme ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsLexeme > ( ) ) ) . contents as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( clipsLexeme ) , "::" , stringify ! ( contents ) ) ) ; } impl Default for clipsLexeme { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl clipsLexeme { # [ inline ] pub fn permanent ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_permanent ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn markedEphemeral ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_markedEphemeral ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn neededSymbol ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_neededSymbol ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn bucket ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 29u8 ) as u32 ) } } # [ inline ] pub fn set_bucket ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 29u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( permanent : :: std :: os :: raw :: c_uint , markedEphemeral : :: std :: os :: raw :: c_uint , neededSymbol : :: std :: os :: raw :: c_uint , bucket : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let permanent : u32 = unsafe { :: std :: mem :: transmute ( permanent ) } ; permanent as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let markedEphemeral : u32 = unsafe { :: std :: mem :: transmute ( markedEphemeral ) } ; markedEphemeral as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let neededSymbol : u32 = unsafe { :: std :: mem :: transmute ( neededSymbol ) } ; neededSymbol as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 29u8 , { let bucket : u32 = unsafe { :: std :: mem :: transmute ( bucket ) } ; bucket as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct clipsFloat { pub header : TypeHeader , pub next : * mut CLIPSFloat , pub count : :: std :: os :: raw :: c_long , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > , pub contents : f64 , } # [ test ] fn bindgen_test_layout_clipsFloat ( ) { assert_eq ! ( :: std :: mem :: size_of :: < clipsFloat > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( clipsFloat ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < clipsFloat > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( clipsFloat ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsFloat > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsFloat ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsFloat > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( clipsFloat ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsFloat > ( ) ) ) . count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( clipsFloat ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsFloat > ( ) ) ) . contents as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( clipsFloat ) , "::" , stringify ! ( contents ) ) ) ; } impl Default for clipsFloat { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl clipsFloat { # [ inline ] pub fn permanent ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_permanent ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn markedEphemeral ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_markedEphemeral ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn neededFloat ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_neededFloat ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn bucket ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 29u8 ) as u32 ) } } # [ inline ] pub fn set_bucket ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 29u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( permanent : :: std :: os :: raw :: c_uint , markedEphemeral : :: std :: os :: raw :: c_uint , neededFloat : :: std :: os :: raw :: c_uint , bucket : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let permanent : u32 = unsafe { :: std :: mem :: transmute ( permanent ) } ; permanent as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let markedEphemeral : u32 = unsafe { :: std :: mem :: transmute ( markedEphemeral ) } ; markedEphemeral as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let neededFloat : u32 = unsafe { :: std :: mem :: transmute ( neededFloat ) } ; neededFloat as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 29u8 , { let bucket : u32 = unsafe { :: std :: mem :: transmute ( bucket ) } ; bucket as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct clipsInteger { pub header : TypeHeader , pub next : * mut CLIPSInteger , pub count : :: std :: os :: raw :: c_long , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > , pub contents : :: std :: os :: raw :: c_longlong , } # [ test ] fn bindgen_test_layout_clipsInteger ( ) { assert_eq ! ( :: std :: mem :: size_of :: < clipsInteger > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( clipsInteger ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < clipsInteger > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( clipsInteger ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsInteger > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsInteger ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsInteger > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( clipsInteger ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsInteger > ( ) ) ) . count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( clipsInteger ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsInteger > ( ) ) ) . contents as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( clipsInteger ) , "::" , stringify ! ( contents ) ) ) ; } impl Default for clipsInteger { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl clipsInteger { # [ inline ] pub fn permanent ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_permanent ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn markedEphemeral ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_markedEphemeral ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn neededInteger ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_neededInteger ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn bucket ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 29u8 ) as u32 ) } } # [ inline ] pub fn set_bucket ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 29u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( permanent : :: std :: os :: raw :: c_uint , markedEphemeral : :: std :: os :: raw :: c_uint , neededInteger : :: std :: os :: raw :: c_uint , bucket : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let permanent : u32 = unsafe { :: std :: mem :: transmute ( permanent ) } ; permanent as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let markedEphemeral : u32 = unsafe { :: std :: mem :: transmute ( markedEphemeral ) } ; markedEphemeral as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let neededInteger : u32 = unsafe { :: std :: mem :: transmute ( neededInteger ) } ; neededInteger as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 29u8 , { let bucket : u32 = unsafe { :: std :: mem :: transmute ( bucket ) } ; bucket as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct clipsBitMap { pub header : TypeHeader , pub next : * mut CLIPSBitMap , pub count : :: std :: os :: raw :: c_long , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > , pub contents : * const :: std :: os :: raw :: c_char , pub size : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_clipsBitMap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < clipsBitMap > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( clipsBitMap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < clipsBitMap > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( clipsBitMap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsBitMap > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsBitMap ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsBitMap > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( clipsBitMap ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsBitMap > ( ) ) ) . count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( clipsBitMap ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsBitMap > ( ) ) ) . contents as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( clipsBitMap ) , "::" , stringify ! ( contents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsBitMap > ( ) ) ) . size as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( clipsBitMap ) , "::" , stringify ! ( size ) ) ) ; } impl Default for clipsBitMap { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl clipsBitMap { # [ inline ] pub fn permanent ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_permanent ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn markedEphemeral ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_markedEphemeral ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn neededBitMap ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_neededBitMap ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn bucket ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 29u8 ) as u32 ) } } # [ inline ] pub fn set_bucket ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 29u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( permanent : :: std :: os :: raw :: c_uint , markedEphemeral : :: std :: os :: raw :: c_uint , neededBitMap : :: std :: os :: raw :: c_uint , bucket : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let permanent : u32 = unsafe { :: std :: mem :: transmute ( permanent ) } ; permanent as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let markedEphemeral : u32 = unsafe { :: std :: mem :: transmute ( markedEphemeral ) } ; markedEphemeral as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let neededBitMap : u32 = unsafe { :: std :: mem :: transmute ( neededBitMap ) } ; neededBitMap as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 29u8 , { let bucket : u32 = unsafe { :: std :: mem :: transmute ( bucket ) } ; bucket as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct clipsExternalAddress { pub header : TypeHeader , pub next : * mut CLIPSExternalAddress , pub count : :: std :: os :: raw :: c_long , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > , pub contents : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_clipsExternalAddress ( ) { assert_eq ! ( :: std :: mem :: size_of :: < clipsExternalAddress > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( clipsExternalAddress ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < clipsExternalAddress > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( clipsExternalAddress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsExternalAddress > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsExternalAddress ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsExternalAddress > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( clipsExternalAddress ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsExternalAddress > ( ) ) ) . count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( clipsExternalAddress ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsExternalAddress > ( ) ) ) . contents as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( clipsExternalAddress ) , "::" , stringify ! ( contents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsExternalAddress > ( ) ) ) . type_ as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( clipsExternalAddress ) , "::" , stringify ! ( type_ ) ) ) ; } impl Default for clipsExternalAddress { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl clipsExternalAddress { # [ inline ] pub fn permanent ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_permanent ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn markedEphemeral ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_markedEphemeral ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn neededPointer ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_neededPointer ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn bucket ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 29u8 ) as u32 ) } } # [ inline ] pub fn set_bucket ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 29u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( permanent : :: std :: os :: raw :: c_uint , markedEphemeral : :: std :: os :: raw :: c_uint , neededPointer : :: std :: os :: raw :: c_uint , bucket : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let permanent : u32 = unsafe { :: std :: mem :: transmute ( permanent ) } ; permanent as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let markedEphemeral : u32 = unsafe { :: std :: mem :: transmute ( markedEphemeral ) } ; markedEphemeral as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let neededPointer : u32 = unsafe { :: std :: mem :: transmute ( neededPointer ) } ; neededPointer as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 29u8 , { let bucket : u32 = unsafe { :: std :: mem :: transmute ( bucket ) } ; bucket as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct clipsValue { pub __bindgen_anon_1 : clipsValue__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union clipsValue__bindgen_ty_1 { pub value : * mut :: std :: os :: raw :: c_void , pub header : * mut TypeHeader , pub lexemeValue : * mut CLIPSLexeme , pub floatValue : * mut CLIPSFloat , pub integerValue : * mut CLIPSInteger , pub voidValue : * mut CLIPSVoid , pub multifieldValue : * mut Multifield , pub factValue : * mut Fact , pub instanceValue : * mut Instance , pub externalAddressValue : * mut CLIPSExternalAddress , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_clipsValue__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < clipsValue__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( clipsValue__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < clipsValue__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( clipsValue__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . lexemeValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( lexemeValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . floatValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( floatValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . integerValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( integerValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . voidValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( voidValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . multifieldValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( multifieldValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . factValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( factValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . instanceValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( instanceValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < clipsValue__bindgen_ty_1 > ( ) ) ) . externalAddressValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( clipsValue__bindgen_ty_1 ) , "::" , stringify ! ( externalAddressValue ) ) ) ; } impl Default for clipsValue__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for clipsValue__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "clipsValue__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_clipsValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < clipsValue > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( clipsValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < clipsValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( clipsValue ) ) ) ; } impl Default for clipsValue { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for clipsValue { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "clipsValue {{ __bindgen_anon_1: {:?} }}" , self . __bindgen_anon_1 ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct multifield { pub header : TypeHeader , pub busyCount : :: std :: os :: raw :: c_uint , pub length : size_t , pub next : * mut Multifield , pub contents : [ CLIPSValue ; 1usize ] , } # [ test ] fn bindgen_test_layout_multifield ( ) { assert_eq ! ( :: std :: mem :: size_of :: < multifield > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( multifield ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < multifield > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( multifield ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifield > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( multifield ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifield > ( ) ) ) . busyCount as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( multifield ) , "::" , stringify ! ( busyCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifield > ( ) ) ) . length as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( multifield ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifield > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( multifield ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifield > ( ) ) ) . contents as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( multifield ) , "::" , stringify ! ( contents ) ) ) ; } impl Default for multifield { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for multifield { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "multifield {{ header: {:?}, busyCount: {:?}, length: {:?}, next: {:?}, contents: {:?} }}" , self . header , self . busyCount , self . length , self . next , self . contents ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct udfValue { pub supplementalInfo : * mut :: std :: os :: raw :: c_void , pub __bindgen_anon_1 : udfValue__bindgen_ty_1 , pub begin : size_t , pub range : size_t , pub next : * mut udfValue , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union udfValue__bindgen_ty_1 { pub value : * mut :: std :: os :: raw :: c_void , pub header : * mut TypeHeader , pub lexemeValue : * mut CLIPSLexeme , pub floatValue : * mut CLIPSFloat , pub integerValue : * mut CLIPSInteger , pub voidValue : * mut CLIPSVoid , pub multifieldValue : * mut Multifield , pub factValue : * mut Fact , pub instanceValue : * mut Instance , pub externalAddressValue : * mut CLIPSExternalAddress , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_udfValue__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < udfValue__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( udfValue__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < udfValue__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( udfValue__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . lexemeValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( lexemeValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . floatValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( floatValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . integerValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( integerValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . voidValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( voidValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . multifieldValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( multifieldValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . factValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( factValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . instanceValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( instanceValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue__bindgen_ty_1 > ( ) ) ) . externalAddressValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue__bindgen_ty_1 ) , "::" , stringify ! ( externalAddressValue ) ) ) ; } impl Default for udfValue__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for udfValue__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "udfValue__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_udfValue ( ) { assert_eq ! ( :: std :: mem :: size_of :: < udfValue > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( udfValue ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < udfValue > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( udfValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue > ( ) ) ) . supplementalInfo as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfValue ) , "::" , stringify ! ( supplementalInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue > ( ) ) ) . begin as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( udfValue ) , "::" , stringify ! ( begin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue > ( ) ) ) . range as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( udfValue ) , "::" , stringify ! ( range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfValue > ( ) ) ) . next as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( udfValue ) , "::" , stringify ! ( next ) ) ) ; } impl Default for udfValue { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for udfValue { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "udfValue {{ supplementalInfo: {:?}, __bindgen_anon_1: {:?}, begin: {:?}, range: {:?}, next: {:?} }}" , self . supplementalInfo , self . __bindgen_anon_1 , self . begin , self . range , self . next ) } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct udfContext { pub environment : * mut Environment , pub context : * mut :: std :: os :: raw :: c_void , pub theFunction : * mut FunctionDefinition , pub lastPosition : :: std :: os :: raw :: c_uint , pub lastArg : * mut Expression , pub returnValue : * mut UDFValue , } # [ test ] fn bindgen_test_layout_udfContext ( ) { assert_eq ! ( :: std :: mem :: size_of :: < udfContext > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( udfContext ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < udfContext > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( udfContext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfContext > ( ) ) ) . environment as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( udfContext ) , "::" , stringify ! ( environment ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfContext > ( ) ) ) . context as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( udfContext ) , "::" , stringify ! ( context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfContext > ( ) ) ) . theFunction as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( udfContext ) , "::" , stringify ! ( theFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfContext > ( ) ) ) . lastPosition as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( udfContext ) , "::" , stringify ! ( lastPosition ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfContext > ( ) ) ) . lastArg as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( udfContext ) , "::" , stringify ! ( lastArg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < udfContext > ( ) ) ) . returnValue as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( udfContext ) , "::" , stringify ! ( returnValue ) ) ) ; } impl Default for udfContext { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct entityRecord { pub name : * const :: std :: os :: raw :: c_char , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 2usize ] , u16 > , pub shortPrintFunction : EntityPrintFunction , pub longPrintFunction : EntityPrintFunction , pub deleteFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * mut Environment ) -> bool > , pub evaluateFunction : EntityEvaluationFunction , pub getNextFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void > , pub decrementBusyCount : EntityBusyCountFunction , pub incrementBusyCount : EntityBusyCountFunction , pub propagateDepth : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void ) > , pub markNeeded : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void ) > , pub install : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void ) > , pub deinstall : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : * mut :: std :: os :: raw :: c_void ) > , pub usrData : * mut userData , } # [ test ] fn bindgen_test_layout_entityRecord ( ) { assert_eq ! ( :: std :: mem :: size_of :: < entityRecord > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( entityRecord ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < entityRecord > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( entityRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . shortPrintFunction as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( shortPrintFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . longPrintFunction as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( longPrintFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . deleteFunction as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( deleteFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . evaluateFunction as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( evaluateFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . getNextFunction as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( getNextFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . decrementBusyCount as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( decrementBusyCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . incrementBusyCount as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( incrementBusyCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . propagateDepth as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( propagateDepth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . markNeeded as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( markNeeded ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . install as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( install ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . deinstall as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( deinstall ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < entityRecord > ( ) ) ) . usrData as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( entityRecord ) , "::" , stringify ! ( usrData ) ) ) ; } impl Default for entityRecord { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl entityRecord { # [ inline ] pub fn type_ ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 13u8 ) as u32 ) } } # [ inline ] pub fn set_type ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 13u8 , val as u64 ) } } # [ inline ] pub fn copyToEvaluate ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 13usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_copyToEvaluate ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 13usize , 1u8 , val as u64 ) } } # [ inline ] pub fn bitMap ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 14usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_bitMap ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 14usize , 1u8 , val as u64 ) } } # [ inline ] pub fn addsToRuleComplexity ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 15usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_addsToRuleComplexity ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 15usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( type_ : :: std :: os :: raw :: c_uint , copyToEvaluate : :: std :: os :: raw :: c_uint , bitMap : :: std :: os :: raw :: c_uint , addsToRuleComplexity : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 2usize ] , u16 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 2usize ] , u16 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 13u8 , { let type_ : u32 = unsafe { :: std :: mem :: transmute ( type_ ) } ; type_ as u64 } ) ; __bindgen_bitfield_unit . set ( 13usize , 1u8 , { let copyToEvaluate : u32 = unsafe { :: std :: mem :: transmute ( copyToEvaluate ) } ; copyToEvaluate as u64 } ) ; __bindgen_bitfield_unit . set ( 14usize , 1u8 , { let bitMap : u32 = unsafe { :: std :: mem :: transmute ( bitMap ) } ; bitMap as u64 } ) ; __bindgen_bitfield_unit . set ( 15usize , 1u8 , { let addsToRuleComplexity : u32 = unsafe { :: std :: mem :: transmute ( addsToRuleComplexity ) } ; addsToRuleComplexity as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct patternEntityRecord { pub base : entityRecord , pub decrementBasisCount : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) > , pub incrementBasisCount : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) > , pub matchFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) > , pub synchronized : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) -> bool > , pub isDeleted : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) -> bool > , } # [ test ] fn bindgen_test_layout_patternEntityRecord ( ) { assert_eq ! ( :: std :: mem :: size_of :: < patternEntityRecord > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( patternEntityRecord ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < patternEntityRecord > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( patternEntityRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntityRecord > ( ) ) ) . base as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( patternEntityRecord ) , "::" , stringify ! ( base ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntityRecord > ( ) ) ) . decrementBasisCount as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( patternEntityRecord ) , "::" , stringify ! ( decrementBasisCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntityRecord > ( ) ) ) . incrementBasisCount as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( patternEntityRecord ) , "::" , stringify ! ( incrementBasisCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntityRecord > ( ) ) ) . matchFunction as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( patternEntityRecord ) , "::" , stringify ! ( matchFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntityRecord > ( ) ) ) . synchronized as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( patternEntityRecord ) , "::" , stringify ! ( synchronized ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntityRecord > ( ) ) ) . isDeleted as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( patternEntityRecord ) , "::" , stringify ! ( isDeleted ) ) ) ; } impl Default for patternEntityRecord { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct patternEntity { pub header : TypeHeader , pub theInfo : * mut patternEntityRecord , pub dependents : * mut :: std :: os :: raw :: c_void , pub busyCount : :: std :: os :: raw :: c_uint , pub timeTag : :: std :: os :: raw :: c_ulonglong , } # [ test ] fn bindgen_test_layout_patternEntity ( ) { assert_eq ! ( :: std :: mem :: size_of :: < patternEntity > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( patternEntity ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < patternEntity > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( patternEntity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntity > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( patternEntity ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntity > ( ) ) ) . theInfo as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( patternEntity ) , "::" , stringify ! ( theInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntity > ( ) ) ) . dependents as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( patternEntity ) , "::" , stringify ! ( dependents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntity > ( ) ) ) . busyCount as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( patternEntity ) , "::" , stringify ! ( busyCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternEntity > ( ) ) ) . timeTag as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( patternEntity ) , "::" , stringify ! ( timeTag ) ) ) ; } impl Default for patternEntity { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct environmentCleanupFunction { pub name : * const :: std :: os :: raw :: c_char , pub func : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , pub priority : :: std :: os :: raw :: c_int , pub next : * mut environmentCleanupFunction , } # [ test ] fn bindgen_test_layout_environmentCleanupFunction ( ) { assert_eq ! ( :: std :: mem :: size_of :: < environmentCleanupFunction > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( environmentCleanupFunction ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < environmentCleanupFunction > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( environmentCleanupFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentCleanupFunction > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( environmentCleanupFunction ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentCleanupFunction > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( environmentCleanupFunction ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentCleanupFunction > ( ) ) ) . priority as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( environmentCleanupFunction ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentCleanupFunction > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( environmentCleanupFunction ) , "::" , stringify ! ( next ) ) ) ; } impl Default for environmentCleanupFunction { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct environmentData { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub context : * mut :: std :: os :: raw :: c_void , pub TrueSymbol : * mut CLIPSLexeme , pub FalseSymbol : * mut CLIPSLexeme , pub VoidConstant : * mut CLIPSVoid , pub theData : * mut * mut :: std :: os :: raw :: c_void , pub cleanupFunctions : * mut :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , pub listOfCleanupEnvironmentFunctions : * mut environmentCleanupFunction , pub next : * mut environmentData , } # [ test ] fn bindgen_test_layout_environmentData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < environmentData > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( environmentData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < environmentData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( environmentData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentData > ( ) ) ) . context as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( environmentData ) , "::" , stringify ! ( context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentData > ( ) ) ) . TrueSymbol as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( environmentData ) , "::" , stringify ! ( TrueSymbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentData > ( ) ) ) . FalseSymbol as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( environmentData ) , "::" , stringify ! ( FalseSymbol ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentData > ( ) ) ) . VoidConstant as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( environmentData ) , "::" , stringify ! ( VoidConstant ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentData > ( ) ) ) . theData as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( environmentData ) , "::" , stringify ! ( theData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentData > ( ) ) ) . cleanupFunctions as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( environmentData ) , "::" , stringify ! ( cleanupFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentData > ( ) ) ) . listOfCleanupEnvironmentFunctions as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( environmentData ) , "::" , stringify ! ( listOfCleanupEnvironmentFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < environmentData > ( ) ) ) . next as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( environmentData ) , "::" , stringify ! ( next ) ) ) ; } impl Default for environmentData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl environmentData { # [ inline ] pub fn initialized ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_initialized ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( initialized : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let initialized : u32 = unsafe { :: std :: mem :: transmute ( initialized ) } ; initialized as u64 } ) ; __bindgen_bitfield_unit } } extern "C" { pub fn AllocateEnvironmentData ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_uint , arg3 : size_t , arg4 : EnvironmentCleanupFunction ) -> bool ; } extern "C" { pub fn AddEnvironmentCleanupFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : EnvironmentCleanupFunction , arg4 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn GetEnvironmentContext ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn SetEnvironmentContext ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) -> * mut :: std :: os :: raw :: c_void ; } pub type SavedContexts = savedContexts ; extern "C" { pub fn ConstantExpression ( arg1 : * mut expr ) -> bool ; } extern "C" { pub fn PrintExpression ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut expr ) ; } extern "C" { pub fn ExpressionSize ( arg1 : * mut expr ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn CountArguments ( arg1 : * mut expr ) -> :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn CopyExpression ( arg1 : * mut Environment , arg2 : * mut expr ) -> * mut expr ; } extern "C" { pub fn ExpressionContainsVariables ( arg1 : * mut expr , arg2 : bool ) -> bool ; } extern "C" { pub fn IdenticalExpression ( arg1 : * mut expr , arg2 : * mut expr ) -> bool ; } extern "C" { pub fn GenConstant ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ushort , arg3 : * mut :: std :: os :: raw :: c_void ) -> * mut expr ; } extern "C" { pub fn CheckArgumentAgainstRestriction ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : :: std :: os :: raw :: c_uint ) -> bool ; } extern "C" { pub fn ConstantType ( arg1 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn CombineExpressions ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * mut expr ) -> * mut expr ; } extern "C" { pub fn AppendExpressions ( arg1 : * mut expr , arg2 : * mut expr ) -> * mut expr ; } extern "C" { pub fn NegateExpression ( arg1 : * mut Environment , arg2 : * mut expr ) -> * mut expr ; } pub type Construct = construct ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct userData { pub dataID : :: std :: os :: raw :: c_uchar , pub next : * mut userData , } # [ test ] fn bindgen_test_layout_userData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < userData > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( userData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < userData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( userData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < userData > ( ) ) ) . dataID as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( userData ) , "::" , stringify ! ( dataID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < userData > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( userData ) , "::" , stringify ! ( next ) ) ) ; } impl Default for userData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type USER_DATA = userData ; pub type USER_DATA_PTR = * mut userData ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct userDataRecord { pub dataID : :: std :: os :: raw :: c_uchar , pub createUserData : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_void > , pub deleteUserData : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) > , } # [ test ] fn bindgen_test_layout_userDataRecord ( ) { assert_eq ! ( :: std :: mem :: size_of :: < userDataRecord > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( userDataRecord ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < userDataRecord > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( userDataRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < userDataRecord > ( ) ) ) . dataID as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( userDataRecord ) , "::" , stringify ! ( dataID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < userDataRecord > ( ) ) ) . createUserData as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( userDataRecord ) , "::" , stringify ! ( createUserData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < userDataRecord > ( ) ) ) . deleteUserData as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( userDataRecord ) , "::" , stringify ! ( deleteUserData ) ) ) ; } pub type USER_DATA_RECORD = userDataRecord ; pub type USER_DATA_RECORD_PTR = * mut userDataRecord ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct userDataData { pub UserDataRecordArray : [ * mut userDataRecord ; 100usize ] , pub UserDataRecordCount : :: std :: os :: raw :: c_uchar , } # [ test ] fn bindgen_test_layout_userDataData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < userDataData > ( ) , 808usize , concat ! ( "Size of: " , stringify ! ( userDataData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < userDataData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( userDataData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < userDataData > ( ) ) ) . UserDataRecordArray as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( userDataData ) , "::" , stringify ! ( UserDataRecordArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < userDataData > ( ) ) ) . UserDataRecordCount as * const _ as usize } , 800usize , concat ! ( "Offset of field: " , stringify ! ( userDataData ) , "::" , stringify ! ( UserDataRecordCount ) ) ) ; } impl Default for userDataData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for userDataData { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "userDataData {{ UserDataRecordArray: [{}], UserDataRecordCount: {:?} }}" , self . UserDataRecordArray . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) , self . UserDataRecordCount ) } } extern "C" { pub fn InitializeUserDataData ( arg1 : * mut Environment ) ; } extern "C" { pub fn InstallUserDataRecord ( arg1 : * mut Environment , arg2 : * mut userDataRecord ) -> :: std :: os :: raw :: c_uchar ; } extern "C" { pub fn FetchUserData ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_uchar , arg3 : * mut * mut userData ) -> * mut userData ; } extern "C" { pub fn TestUserData ( arg1 : :: std :: os :: raw :: c_uchar , arg2 : * mut userData ) -> * mut userData ; } extern "C" { pub fn ClearUserDataList ( arg1 : * mut Environment , arg2 : * mut userData ) ; } extern "C" { pub fn DeleteUserData ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_uchar , arg3 : * mut userData ) -> * mut userData ; } pub type Defmodule = defmodule ; pub type PortItem = portItem ; pub type DefmoduleItemHeader = defmoduleItemHeader ; pub type ModuleItem = moduleItem ; pub type ConstructHeader = constructHeader ; pub type ModuleStackItem = moduleStackItem ; pub type AllocateModuleFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_void > ; pub type FreeModuleFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) > ; pub const ConstructType_DEFMODULE : ConstructType = 0 ; pub const ConstructType_DEFRULE : ConstructType = 1 ; pub const ConstructType_DEFTEMPLATE : ConstructType = 2 ; pub const ConstructType_DEFFACTS : ConstructType = 3 ; pub const ConstructType_DEFGLOBAL : ConstructType = 4 ; pub const ConstructType_DEFFUNCTION : ConstructType = 5 ; pub const ConstructType_DEFGENERIC : ConstructType = 6 ; pub const ConstructType_DEFMETHOD : ConstructType = 7 ; pub const ConstructType_DEFCLASS : ConstructType = 8 ; pub const ConstructType_DEFMESSAGE_HANDLER : ConstructType = 9 ; pub const ConstructType_DEFINSTANCES : ConstructType = 10 ; pub type ConstructType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct callFunctionItem { _unused : [ u8 ; 0 ] , } pub type CallFunctionItem = callFunctionItem ; pub type CallFunctionItemWithArg = callFunctionItemWithArg ; pub type BoolCallFunctionItem = boolCallFunctionItem ; pub type VoidCallFunctionItem = voidCallFunctionItem ; pub type int_least8_t = :: std :: os :: raw :: c_schar ; pub type int_least16_t = :: std :: os :: raw :: c_short ; pub type int_least32_t = :: std :: os :: raw :: c_int ; pub type int_least64_t = :: std :: os :: raw :: c_long ; pub type uint_least8_t = :: std :: os :: raw :: c_uchar ; pub type uint_least16_t = :: std :: os :: raw :: c_ushort ; pub type uint_least32_t = :: std :: os :: raw :: c_uint ; pub type uint_least64_t = :: std :: os :: raw :: c_ulong ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; pub const SaveScope_LOCAL_SAVE : SaveScope = 0 ; pub const SaveScope_VISIBLE_SAVE : SaveScope = 1 ; pub type SaveScope = u32 ; pub const DefaultType_NO_DEFAULT : DefaultType = 0 ; pub const DefaultType_STATIC_DEFAULT : DefaultType = 1 ; pub const DefaultType_DYNAMIC_DEFAULT : DefaultType = 2 ; pub type DefaultType = u32 ; pub const PutSlotError_PSE_NO_ERROR : PutSlotError = 0 ; pub const PutSlotError_PSE_NULL_POINTER_ERROR : PutSlotError = 1 ; pub const PutSlotError_PSE_INVALID_TARGET_ERROR : PutSlotError = 2 ; pub const PutSlotError_PSE_SLOT_NOT_FOUND_ERROR : PutSlotError = 3 ; pub const PutSlotError_PSE_TYPE_ERROR : PutSlotError = 4 ; pub const PutSlotError_PSE_RANGE_ERROR : PutSlotError = 5 ; pub const PutSlotError_PSE_ALLOWED_VALUES_ERROR : PutSlotError = 6 ; pub const PutSlotError_PSE_CARDINALITY_ERROR : PutSlotError = 7 ; pub const PutSlotError_PSE_ALLOWED_CLASSES_ERROR : PutSlotError = 8 ; pub const PutSlotError_PSE_EVALUATION_ERROR : PutSlotError = 9 ; pub const PutSlotError_PSE_RULE_NETWORK_ERROR : PutSlotError = 10 ; pub type PutSlotError = u32 ; pub const GetSlotError_GSE_NO_ERROR : GetSlotError = 0 ; pub const GetSlotError_GSE_NULL_POINTER_ERROR : GetSlotError = 1 ; pub const GetSlotError_GSE_INVALID_TARGET_ERROR : GetSlotError = 2 ; pub const GetSlotError_GSE_SLOT_NOT_FOUND_ERROR : GetSlotError = 3 ; pub type GetSlotError = u32 ; pub const CLIPSType_FLOAT_BIT : CLIPSType = 1 ; pub const CLIPSType_INTEGER_BIT : CLIPSType = 2 ; pub const CLIPSType_SYMBOL_BIT : CLIPSType = 4 ; pub const CLIPSType_STRING_BIT : CLIPSType = 8 ; pub const CLIPSType_MULTIFIELD_BIT : CLIPSType = 16 ; pub const CLIPSType_EXTERNAL_ADDRESS_BIT : CLIPSType = 32 ; pub const CLIPSType_FACT_ADDRESS_BIT : CLIPSType = 64 ; pub const CLIPSType_INSTANCE_ADDRESS_BIT : CLIPSType = 128 ; pub const CLIPSType_INSTANCE_NAME_BIT : CLIPSType = 256 ; pub const CLIPSType_VOID_BIT : CLIPSType = 512 ; pub const CLIPSType_BOOLEAN_BIT : CLIPSType = 1024 ; pub type CLIPSType = u32 ; pub type FunctionCallBuilder = functionCallBuilder ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct functionCallBuilder { pub fcbEnv : * mut Environment , pub contents : * mut CLIPSValue , pub bufferReset : size_t , pub length : size_t , pub bufferMaximum : size_t , } # [ test ] fn bindgen_test_layout_functionCallBuilder ( ) { assert_eq ! ( :: std :: mem :: size_of :: < functionCallBuilder > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( functionCallBuilder ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < functionCallBuilder > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( functionCallBuilder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionCallBuilder > ( ) ) ) . fcbEnv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( functionCallBuilder ) , "::" , stringify ! ( fcbEnv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionCallBuilder > ( ) ) ) . contents as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( functionCallBuilder ) , "::" , stringify ! ( contents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionCallBuilder > ( ) ) ) . bufferReset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( functionCallBuilder ) , "::" , stringify ! ( bufferReset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionCallBuilder > ( ) ) ) . length as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( functionCallBuilder ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionCallBuilder > ( ) ) ) . bufferMaximum as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( functionCallBuilder ) , "::" , stringify ! ( bufferMaximum ) ) ) ; } impl Default for functionCallBuilder { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub const FunctionCallBuilderError_FCBE_NO_ERROR : FunctionCallBuilderError = 0 ; pub const FunctionCallBuilderError_FCBE_NULL_POINTER_ERROR : FunctionCallBuilderError = 1 ; pub const FunctionCallBuilderError_FCBE_FUNCTION_NOT_FOUND_ERROR : FunctionCallBuilderError = 2 ; pub const FunctionCallBuilderError_FCBE_INVALID_FUNCTION_ERROR : FunctionCallBuilderError = 3 ; pub const FunctionCallBuilderError_FCBE_ARGUMENT_COUNT_ERROR : FunctionCallBuilderError = 4 ; pub const FunctionCallBuilderError_FCBE_ARGUMENT_TYPE_ERROR : FunctionCallBuilderError = 5 ; pub const FunctionCallBuilderError_FCBE_PROCESSING_ERROR : FunctionCallBuilderError = 6 ; pub type FunctionCallBuilderError = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct externalAddressType { pub name : * const :: std :: os :: raw :: c_char , pub shortPrintFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_void ) > , pub longPrintFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_void ) > , pub discardFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) -> bool > , pub newFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut UDFContext , arg2 : * mut UDFValue ) > , pub callFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut UDFContext , arg2 : * mut UDFValue , arg3 : * mut UDFValue ) -> bool > , } # [ test ] fn bindgen_test_layout_externalAddressType ( ) { assert_eq ! ( :: std :: mem :: size_of :: < externalAddressType > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( externalAddressType ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < externalAddressType > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( externalAddressType ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < externalAddressType > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( externalAddressType ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < externalAddressType > ( ) ) ) . shortPrintFunction as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( externalAddressType ) , "::" , stringify ! ( shortPrintFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < externalAddressType > ( ) ) ) . longPrintFunction as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( externalAddressType ) , "::" , stringify ! ( longPrintFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < externalAddressType > ( ) ) ) . discardFunction as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( externalAddressType ) , "::" , stringify ! ( discardFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < externalAddressType > ( ) ) ) . newFunction as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( externalAddressType ) , "::" , stringify ! ( newFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < externalAddressType > ( ) ) ) . callFunction as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( externalAddressType ) , "::" , stringify ! ( callFunction ) ) ) ; } impl Default for externalAddressType { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct evaluationData { pub CurrentExpression : * mut expr , pub EvaluationError : bool , pub HaltExecution : bool , pub CurrentEvaluationDepth : :: std :: os :: raw :: c_int , pub numberOfAddressTypes : :: std :: os :: raw :: c_int , pub PrimitivesArray : [ * mut entityRecord ; 150usize ] , pub ExternalAddressTypes : [ * mut externalAddressType ; 10usize ] , } # [ test ] fn bindgen_test_layout_evaluationData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < evaluationData > ( ) , 1304usize , concat ! ( "Size of: " , stringify ! ( evaluationData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < evaluationData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( evaluationData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < evaluationData > ( ) ) ) . CurrentExpression as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( evaluationData ) , "::" , stringify ! ( CurrentExpression ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < evaluationData > ( ) ) ) . EvaluationError as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( evaluationData ) , "::" , stringify ! ( EvaluationError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < evaluationData > ( ) ) ) . HaltExecution as * const _ as usize } , 9usize , concat ! ( "Offset of field: " , stringify ! ( evaluationData ) , "::" , stringify ! ( HaltExecution ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < evaluationData > ( ) ) ) . CurrentEvaluationDepth as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( evaluationData ) , "::" , stringify ! ( CurrentEvaluationDepth ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < evaluationData > ( ) ) ) . numberOfAddressTypes as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( evaluationData ) , "::" , stringify ! ( numberOfAddressTypes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < evaluationData > ( ) ) ) . PrimitivesArray as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( evaluationData ) , "::" , stringify ! ( PrimitivesArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < evaluationData > ( ) ) ) . ExternalAddressTypes as * const _ as usize } , 1224usize , concat ! ( "Offset of field: " , stringify ! ( evaluationData ) , "::" , stringify ! ( ExternalAddressTypes ) ) ) ; } impl Default for evaluationData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for evaluationData { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "evaluationData {{ CurrentExpression: {:?}, EvaluationError: {:?}, HaltExecution: {:?}, CurrentEvaluationDepth: {:?}, numberOfAddressTypes: {:?}, PrimitivesArray: [{}], ExternalAddressTypes: {:?} }}" , self . CurrentExpression , self . EvaluationError , self . HaltExecution , self . CurrentEvaluationDepth , self . numberOfAddressTypes , self . PrimitivesArray . iter ( ) . enumerate ( ) . map ( | ( i , v ) | format ! ( "{}{:?}" , if i > 0 { ", " } else { "" } , v ) ) . collect :: < String > ( ) , self . ExternalAddressTypes ) } } extern "C" { pub fn InitializeEvaluationData ( arg1 : * mut Environment ) ; } extern "C" { pub fn EvaluateExpression ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * mut UDFValue ) -> bool ; } extern "C" { pub fn SetEvaluationError ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn GetEvaluationError ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetHaltExecution ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn GetHaltExecution ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn ReturnValues ( arg1 : * mut Environment , arg2 : * mut UDFValue , arg3 : bool ) ; } extern "C" { pub fn WriteUDFValue ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut UDFValue ) ; } extern "C" { pub fn WriteCLIPSValue ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) ; } extern "C" { pub fn SetMultifieldErrorValue ( arg1 : * mut Environment , arg2 : * mut UDFValue ) ; } extern "C" { pub fn CopyDataObject ( arg1 : * mut Environment , arg2 : * mut UDFValue , arg3 : * mut UDFValue , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn AtomInstall ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ushort , arg3 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn AtomDeinstall ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ushort , arg3 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn Retain ( arg1 : * mut Environment , arg2 : * mut TypeHeader ) ; } extern "C" { pub fn Release ( arg1 : * mut Environment , arg2 : * mut TypeHeader ) ; } extern "C" { pub fn RetainCV ( arg1 : * mut Environment , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn ReleaseCV ( arg1 : * mut Environment , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn RetainUDFV ( arg1 : * mut Environment , arg2 : * mut UDFValue ) ; } extern "C" { pub fn ReleaseUDFV ( arg1 : * mut Environment , arg2 : * mut UDFValue ) ; } extern "C" { pub fn ConvertValueToExpression ( arg1 : * mut Environment , arg2 : * mut UDFValue ) -> * mut expr ; } extern "C" { pub fn GetAtomicHashValue ( arg1 : :: std :: os :: raw :: c_ushort , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn InstallPrimitive ( arg1 : * mut Environment , arg2 : * mut entityRecord , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn InstallExternalAddressType ( arg1 : * mut Environment , arg2 : * mut externalAddressType ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn TransferDataObjectValues ( arg1 : * mut UDFValue , arg2 : * mut UDFValue ) ; } extern "C" { pub fn FunctionReferenceExpression ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut expr ; } extern "C" { pub fn GetFunctionReference ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Expression ) -> bool ; } extern "C" { pub fn DOsEqual ( arg1 : * mut UDFValue , arg2 : * mut UDFValue ) -> bool ; } extern "C" { pub fn EvaluateAndStoreInDataObject ( arg1 : * mut Environment , arg2 : bool , arg3 : * mut Expression , arg4 : * mut UDFValue , arg5 : bool ) -> bool ; } extern "C" { pub fn ResetErrorFlags ( arg1 : * mut Environment ) ; } extern "C" { pub fn CreateFunctionCallBuilder ( arg1 : * mut Environment , arg2 : size_t ) -> * mut FunctionCallBuilder ; } extern "C" { pub fn FCBAppendUDFValue ( arg1 : * mut FunctionCallBuilder , arg2 : * mut UDFValue ) ; } extern "C" { pub fn FCBAppend ( arg1 : * mut FunctionCallBuilder , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn FCBAppendCLIPSInteger ( arg1 : * mut FunctionCallBuilder , arg2 : * mut CLIPSInteger ) ; } extern "C" { pub fn FCBAppendInteger ( arg1 : * mut FunctionCallBuilder , arg2 : :: std :: os :: raw :: c_longlong ) ; } extern "C" { pub fn FCBAppendCLIPSFloat ( arg1 : * mut FunctionCallBuilder , arg2 : * mut CLIPSFloat ) ; } extern "C" { pub fn FCBAppendFloat ( arg1 : * mut FunctionCallBuilder , arg2 : f64 ) ; } extern "C" { pub fn FCBAppendCLIPSLexeme ( arg1 : * mut FunctionCallBuilder , arg2 : * mut CLIPSLexeme ) ; } extern "C" { pub fn FCBAppendSymbol ( arg1 : * mut FunctionCallBuilder , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn FCBAppendString ( arg1 : * mut FunctionCallBuilder , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn FCBAppendInstanceName ( arg1 : * mut FunctionCallBuilder , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn FCBAppendCLIPSExternalAddress ( arg1 : * mut FunctionCallBuilder , arg2 : * mut CLIPSExternalAddress ) ; } extern "C" { pub fn FCBAppendFact ( arg1 : * mut FunctionCallBuilder , arg2 : * mut Fact ) ; } extern "C" { pub fn FCBAppendInstance ( arg1 : * mut FunctionCallBuilder , arg2 : * mut Instance ) ; } extern "C" { pub fn FCBAppendMultifield ( arg1 : * mut FunctionCallBuilder , arg2 : * mut Multifield ) ; } extern "C" { pub fn FCBDispose ( arg1 : * mut FunctionCallBuilder ) ; } extern "C" { pub fn FCBReset ( arg1 : * mut FunctionCallBuilder ) ; } extern "C" { pub fn FCBCall ( arg1 : * mut FunctionCallBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> FunctionCallBuilderError ; } pub type GCBlock = gcBlock ; pub type StringBuilder = stringBuilder ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct voidCallFunctionItem { pub name : * const :: std :: os :: raw :: c_char , pub func : VoidCallFunction , pub priority : :: std :: os :: raw :: c_int , pub next : * mut voidCallFunctionItem , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_voidCallFunctionItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < voidCallFunctionItem > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( voidCallFunctionItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < voidCallFunctionItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( voidCallFunctionItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < voidCallFunctionItem > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( voidCallFunctionItem ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < voidCallFunctionItem > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( voidCallFunctionItem ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < voidCallFunctionItem > ( ) ) ) . priority as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( voidCallFunctionItem ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < voidCallFunctionItem > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( voidCallFunctionItem ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < voidCallFunctionItem > ( ) ) ) . context as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( voidCallFunctionItem ) , "::" , stringify ! ( context ) ) ) ; } impl Default for voidCallFunctionItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct boolCallFunctionItem { pub name : * const :: std :: os :: raw :: c_char , pub func : BoolCallFunction , pub priority : :: std :: os :: raw :: c_int , pub next : * mut boolCallFunctionItem , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_boolCallFunctionItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < boolCallFunctionItem > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( boolCallFunctionItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < boolCallFunctionItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( boolCallFunctionItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < boolCallFunctionItem > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( boolCallFunctionItem ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < boolCallFunctionItem > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( boolCallFunctionItem ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < boolCallFunctionItem > ( ) ) ) . priority as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( boolCallFunctionItem ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < boolCallFunctionItem > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( boolCallFunctionItem ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < boolCallFunctionItem > ( ) ) ) . context as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( boolCallFunctionItem ) , "::" , stringify ! ( context ) ) ) ; } impl Default for boolCallFunctionItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct callFunctionItemWithArg { pub name : * const :: std :: os :: raw :: c_char , pub func : VoidCallFunctionWithArg , pub priority : :: std :: os :: raw :: c_int , pub next : * mut callFunctionItemWithArg , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_callFunctionItemWithArg ( ) { assert_eq ! ( :: std :: mem :: size_of :: < callFunctionItemWithArg > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( callFunctionItemWithArg ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < callFunctionItemWithArg > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( callFunctionItemWithArg ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < callFunctionItemWithArg > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( callFunctionItemWithArg ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < callFunctionItemWithArg > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( callFunctionItemWithArg ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < callFunctionItemWithArg > ( ) ) ) . priority as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( callFunctionItemWithArg ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < callFunctionItemWithArg > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( callFunctionItemWithArg ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < callFunctionItemWithArg > ( ) ) ) . context as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( callFunctionItemWithArg ) , "::" , stringify ! ( context ) ) ) ; } impl Default for callFunctionItemWithArg { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct trackedMemory { pub theMemory : * mut :: std :: os :: raw :: c_void , pub next : * mut trackedMemory , pub prev : * mut trackedMemory , pub memSize : size_t , } # [ test ] fn bindgen_test_layout_trackedMemory ( ) { assert_eq ! ( :: std :: mem :: size_of :: < trackedMemory > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( trackedMemory ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < trackedMemory > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( trackedMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < trackedMemory > ( ) ) ) . theMemory as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( trackedMemory ) , "::" , stringify ! ( theMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < trackedMemory > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( trackedMemory ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < trackedMemory > ( ) ) ) . prev as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( trackedMemory ) , "::" , stringify ! ( prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < trackedMemory > ( ) ) ) . memSize as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( trackedMemory ) , "::" , stringify ! ( memSize ) ) ) ; } impl Default for trackedMemory { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct garbageFrame { pub dirty : bool , pub priorFrame : * mut garbageFrame , pub ephemeralSymbolList : * mut ephemeron , pub ephemeralFloatList : * mut ephemeron , pub ephemeralIntegerList : * mut ephemeron , pub ephemeralBitMapList : * mut ephemeron , pub ephemeralExternalAddressList : * mut ephemeron , pub ListOfMultifields : * mut Multifield , pub LastMultifield : * mut Multifield , } # [ test ] fn bindgen_test_layout_garbageFrame ( ) { assert_eq ! ( :: std :: mem :: size_of :: < garbageFrame > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( garbageFrame ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < garbageFrame > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( garbageFrame ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . dirty as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( dirty ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . priorFrame as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( priorFrame ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . ephemeralSymbolList as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( ephemeralSymbolList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . ephemeralFloatList as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( ephemeralFloatList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . ephemeralIntegerList as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( ephemeralIntegerList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . ephemeralBitMapList as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( ephemeralBitMapList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . ephemeralExternalAddressList as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( ephemeralExternalAddressList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . ListOfMultifields as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( ListOfMultifields ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < garbageFrame > ( ) ) ) . LastMultifield as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( garbageFrame ) , "::" , stringify ! ( LastMultifield ) ) ) ; } impl Default for garbageFrame { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct gcBlock { pub newGarbageFrame : garbageFrame , pub oldGarbageFrame : * mut garbageFrame , pub result : * mut UDFValue , } # [ test ] fn bindgen_test_layout_gcBlock ( ) { assert_eq ! ( :: std :: mem :: size_of :: < gcBlock > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( gcBlock ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < gcBlock > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( gcBlock ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gcBlock > ( ) ) ) . newGarbageFrame as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( gcBlock ) , "::" , stringify ! ( newGarbageFrame ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gcBlock > ( ) ) ) . oldGarbageFrame as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( gcBlock ) , "::" , stringify ! ( oldGarbageFrame ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < gcBlock > ( ) ) ) . result as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( gcBlock ) , "::" , stringify ! ( result ) ) ) ; } impl Default for gcBlock { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stringBuilder { pub sbEnv : * mut Environment , pub contents : * mut :: std :: os :: raw :: c_char , pub bufferReset : size_t , pub length : size_t , pub bufferMaximum : size_t , } # [ test ] fn bindgen_test_layout_stringBuilder ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stringBuilder > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( stringBuilder ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stringBuilder > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stringBuilder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringBuilder > ( ) ) ) . sbEnv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stringBuilder ) , "::" , stringify ! ( sbEnv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringBuilder > ( ) ) ) . contents as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stringBuilder ) , "::" , stringify ! ( contents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringBuilder > ( ) ) ) . bufferReset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stringBuilder ) , "::" , stringify ! ( bufferReset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringBuilder > ( ) ) ) . length as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stringBuilder ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringBuilder > ( ) ) ) . bufferMaximum as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stringBuilder ) , "::" , stringify ! ( bufferMaximum ) ) ) ; } impl Default for stringBuilder { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct utilityData { pub ListOfCleanupFunctions : * mut voidCallFunctionItem , pub ListOfPeriodicFunctions : * mut voidCallFunctionItem , pub PeriodicFunctionsEnabled : bool , pub YieldFunctionEnabled : bool , pub YieldTimeFunction : :: std :: option :: Option < unsafe extern "C" fn ( ) > , pub trackList : * mut trackedMemory , pub MasterGarbageFrame : garbageFrame , pub CurrentGarbageFrame : * mut garbageFrame , pub BinaryFileSize : size_t , pub BinaryFileOffset : size_t , pub CurrentReadBuffer : * mut :: std :: os :: raw :: c_char , pub CurrentReadBufferSize : size_t , pub CurrentReadBufferOffset : size_t , } # [ test ] fn bindgen_test_layout_utilityData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < utilityData > ( ) , 160usize , concat ! ( "Size of: " , stringify ! ( utilityData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < utilityData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( utilityData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . ListOfCleanupFunctions as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( ListOfCleanupFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . ListOfPeriodicFunctions as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( ListOfPeriodicFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . PeriodicFunctionsEnabled as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( PeriodicFunctionsEnabled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . YieldFunctionEnabled as * const _ as usize } , 17usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( YieldFunctionEnabled ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . YieldTimeFunction as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( YieldTimeFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . trackList as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( trackList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . MasterGarbageFrame as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( MasterGarbageFrame ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . CurrentGarbageFrame as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( CurrentGarbageFrame ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . BinaryFileSize as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( BinaryFileSize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . BinaryFileOffset as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( BinaryFileOffset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . CurrentReadBuffer as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( CurrentReadBuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . CurrentReadBufferSize as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( CurrentReadBufferSize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < utilityData > ( ) ) ) . CurrentReadBufferOffset as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( utilityData ) , "::" , stringify ! ( CurrentReadBufferOffset ) ) ) ; } impl Default for utilityData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeUtilityData ( arg1 : * mut Environment ) ; } extern "C" { pub fn AddCleanupFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn AddPeriodicFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveCleanupFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn RemovePeriodicFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn CopyString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn DeleteString ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn AppendStrings ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn StringPrintForm ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn AppendToString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : * mut size_t , arg5 : * mut size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn InsertInString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : * mut size_t , arg6 : * mut size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn AppendNToString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : size_t , arg5 : * mut size_t , arg6 : * mut size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn EnlargeString ( arg1 : * mut Environment , arg2 : size_t , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : * mut size_t , arg5 : * mut size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ExpandStringWithChar ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : * mut size_t , arg5 : * mut size_t , arg6 : size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn AddVoidFunctionToCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : VoidCallFunction , arg5 : * mut VoidCallFunctionItem , arg6 : * mut :: std :: os :: raw :: c_void ) -> * mut VoidCallFunctionItem ; } extern "C" { pub fn AddBoolFunctionToCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : BoolCallFunction , arg5 : * mut BoolCallFunctionItem , arg6 : * mut :: std :: os :: raw :: c_void ) -> * mut BoolCallFunctionItem ; } extern "C" { pub fn RemoveVoidFunctionFromCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut VoidCallFunctionItem , arg4 : * mut bool ) -> * mut VoidCallFunctionItem ; } extern "C" { pub fn RemoveBoolFunctionFromCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut BoolCallFunctionItem , arg4 : * mut bool ) -> * mut BoolCallFunctionItem ; } extern "C" { pub fn DeallocateVoidCallList ( arg1 : * mut Environment , arg2 : * mut VoidCallFunctionItem ) ; } extern "C" { pub fn DeallocateBoolCallList ( arg1 : * mut Environment , arg2 : * mut BoolCallFunctionItem ) ; } extern "C" { pub fn AddFunctionToCallListWithArg ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : VoidCallFunctionWithArg , arg5 : * mut CallFunctionItemWithArg , arg6 : * mut :: std :: os :: raw :: c_void ) -> * mut CallFunctionItemWithArg ; } extern "C" { pub fn RemoveFunctionFromCallListWithArg ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut callFunctionItemWithArg , arg4 : * mut bool ) -> * mut CallFunctionItemWithArg ; } extern "C" { pub fn DeallocateCallListWithArg ( arg1 : * mut Environment , arg2 : * mut callFunctionItemWithArg ) ; } extern "C" { pub fn GetVoidFunctionFromCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut VoidCallFunctionItem ) -> * mut VoidCallFunctionItem ; } extern "C" { pub fn GetBoolFunctionFromCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut BoolCallFunctionItem ) -> * mut BoolCallFunctionItem ; } extern "C" { pub fn ItemHashValue ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ushort , arg3 : * mut :: std :: os :: raw :: c_void , arg4 : size_t ) -> size_t ; } extern "C" { pub fn YieldTime ( arg1 : * mut Environment ) ; } extern "C" { pub fn EnablePeriodicFunctions ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn EnableYieldFunction ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn AddTrackedMemory ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : size_t ) -> * mut trackedMemory ; } extern "C" { pub fn RemoveTrackedMemory ( arg1 : * mut Environment , arg2 : * mut trackedMemory ) ; } extern "C" { pub fn UTF8Increment ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : * mut size_t ) ; } extern "C" { pub fn UTF8Offset ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : size_t ) -> size_t ; } extern "C" { pub fn UTF8Length ( arg1 : * const :: std :: os :: raw :: c_char ) -> size_t ; } extern "C" { pub fn UTF8CharNum ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : size_t ) -> size_t ; } extern "C" { pub fn RestorePriorGarbageFrame ( arg1 : * mut Environment , arg2 : * mut garbageFrame , arg3 : * mut garbageFrame , arg4 : * mut UDFValue ) ; } extern "C" { pub fn CallCleanupFunctions ( arg1 : * mut Environment ) ; } extern "C" { pub fn CallPeriodicTasks ( arg1 : * mut Environment ) ; } extern "C" { pub fn CleanCurrentGarbageFrame ( arg1 : * mut Environment , arg2 : * mut UDFValue ) ; } extern "C" { pub fn GCBlockStart ( arg1 : * mut Environment , arg2 : * mut GCBlock ) ; } extern "C" { pub fn GCBlockEnd ( arg1 : * mut Environment , arg2 : * mut GCBlock ) ; } extern "C" { pub fn GCBlockEndUDF ( arg1 : * mut Environment , arg2 : * mut GCBlock , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CurrentGarbageFrameIsDirty ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn CreateStringBuilder ( arg1 : * mut Environment , arg2 : size_t ) -> * mut StringBuilder ; } extern "C" { pub fn SBDispose ( arg1 : * mut StringBuilder ) ; } extern "C" { pub fn SBAppend ( arg1 : * mut StringBuilder , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn SBAppendInteger ( arg1 : * mut StringBuilder , arg2 : :: std :: os :: raw :: c_longlong ) ; } extern "C" { pub fn SBAppendFloat ( arg1 : * mut StringBuilder , arg2 : f64 ) ; } extern "C" { pub fn SBAddChar ( arg1 : * mut StringBuilder , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn SBReset ( arg1 : * mut StringBuilder ) ; } extern "C" { pub fn SBCopy ( arg1 : * mut StringBuilder ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetPeriodicFunctionContext ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn BufferedRead ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : size_t ) ; } extern "C" { pub fn FreeReadBuffer ( arg1 : * mut Environment ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct constructHeader { pub constructType : ConstructType , pub name : * mut CLIPSLexeme , pub ppForm : * const :: std :: os :: raw :: c_char , pub whichModule : * mut DefmoduleItemHeader , pub bsaveID : :: std :: os :: raw :: c_ulong , pub next : * mut ConstructHeader , pub usrData : * mut userData , pub env : * mut Environment , } # [ test ] fn bindgen_test_layout_constructHeader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < constructHeader > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( constructHeader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < constructHeader > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( constructHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructHeader > ( ) ) ) . constructType as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( constructHeader ) , "::" , stringify ! ( constructType ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructHeader > ( ) ) ) . name as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( constructHeader ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructHeader > ( ) ) ) . ppForm as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( constructHeader ) , "::" , stringify ! ( ppForm ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructHeader > ( ) ) ) . whichModule as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( constructHeader ) , "::" , stringify ! ( whichModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructHeader > ( ) ) ) . bsaveID as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( constructHeader ) , "::" , stringify ! ( bsaveID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructHeader > ( ) ) ) . next as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( constructHeader ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructHeader > ( ) ) ) . usrData as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( constructHeader ) , "::" , stringify ! ( usrData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructHeader > ( ) ) ) . env as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( constructHeader ) , "::" , stringify ! ( env ) ) ) ; } impl Default for constructHeader { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defmoduleItemHeader { pub theModule : * mut Defmodule , pub firstItem : * mut ConstructHeader , pub lastItem : * mut ConstructHeader , } # [ test ] fn bindgen_test_layout_defmoduleItemHeader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defmoduleItemHeader > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( defmoduleItemHeader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defmoduleItemHeader > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defmoduleItemHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleItemHeader > ( ) ) ) . theModule as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleItemHeader ) , "::" , stringify ! ( theModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleItemHeader > ( ) ) ) . firstItem as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleItemHeader ) , "::" , stringify ! ( firstItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleItemHeader > ( ) ) ) . lastItem as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleItemHeader ) , "::" , stringify ! ( lastItem ) ) ) ; } impl Default for defmoduleItemHeader { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type FindConstructFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut ConstructHeader > ; pub type GetNextConstructFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut ConstructHeader ) -> * mut ConstructHeader > ; pub type IsConstructDeletableFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader ) -> bool > ; pub type DeleteConstructFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader , arg2 : * mut Environment ) -> bool > ; pub type FreeConstructFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut ConstructHeader ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defmodule { pub header : ConstructHeader , pub itemsArray : * mut * mut DefmoduleItemHeader , pub importList : * mut PortItem , pub exportList : * mut PortItem , pub visitedFlag : bool , } # [ test ] fn bindgen_test_layout_defmodule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defmodule > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( defmodule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defmodule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defmodule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmodule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defmodule ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmodule > ( ) ) ) . itemsArray as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( defmodule ) , "::" , stringify ! ( itemsArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmodule > ( ) ) ) . importList as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( defmodule ) , "::" , stringify ! ( importList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmodule > ( ) ) ) . exportList as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( defmodule ) , "::" , stringify ! ( exportList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmodule > ( ) ) ) . visitedFlag as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( defmodule ) , "::" , stringify ! ( visitedFlag ) ) ) ; } impl Default for defmodule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct portItem { pub moduleName : * mut CLIPSLexeme , pub constructType : * mut CLIPSLexeme , pub constructName : * mut CLIPSLexeme , pub next : * mut PortItem , } # [ test ] fn bindgen_test_layout_portItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < portItem > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( portItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < portItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( portItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < portItem > ( ) ) ) . moduleName as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( portItem ) , "::" , stringify ! ( moduleName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < portItem > ( ) ) ) . constructType as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( portItem ) , "::" , stringify ! ( constructType ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < portItem > ( ) ) ) . constructName as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( portItem ) , "::" , stringify ! ( constructName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < portItem > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( portItem ) , "::" , stringify ! ( next ) ) ) ; } impl Default for portItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct moduleItem { pub name : * const :: std :: os :: raw :: c_char , pub moduleIndex : :: std :: os :: raw :: c_uint , pub allocateFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_void > , pub freeFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) > , pub bloadModuleReference : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void > , pub constructsToCModuleReference : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : :: std :: os :: raw :: c_ulong , arg4 : :: std :: os :: raw :: c_uint , arg5 : :: std :: os :: raw :: c_uint ) > , pub findFunction : FindConstructFunction , pub next : * mut ModuleItem , } # [ test ] fn bindgen_test_layout_moduleItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < moduleItem > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( moduleItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < moduleItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( moduleItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleItem > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( moduleItem ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleItem > ( ) ) ) . moduleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( moduleItem ) , "::" , stringify ! ( moduleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleItem > ( ) ) ) . allocateFunction as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( moduleItem ) , "::" , stringify ! ( allocateFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleItem > ( ) ) ) . freeFunction as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( moduleItem ) , "::" , stringify ! ( freeFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleItem > ( ) ) ) . bloadModuleReference as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( moduleItem ) , "::" , stringify ! ( bloadModuleReference ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleItem > ( ) ) ) . constructsToCModuleReference as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( moduleItem ) , "::" , stringify ! ( constructsToCModuleReference ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleItem > ( ) ) ) . findFunction as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( moduleItem ) , "::" , stringify ! ( findFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleItem > ( ) ) ) . next as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( moduleItem ) , "::" , stringify ! ( next ) ) ) ; } impl Default for moduleItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct moduleStackItem { pub changeFlag : bool , pub theModule : * mut Defmodule , pub next : * mut ModuleStackItem , } # [ test ] fn bindgen_test_layout_moduleStackItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < moduleStackItem > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( moduleStackItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < moduleStackItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( moduleStackItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleStackItem > ( ) ) ) . changeFlag as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( moduleStackItem ) , "::" , stringify ! ( changeFlag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleStackItem > ( ) ) ) . theModule as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( moduleStackItem ) , "::" , stringify ! ( theModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < moduleStackItem > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( moduleStackItem ) , "::" , stringify ! ( next ) ) ) ; } impl Default for moduleStackItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defmoduleData { pub LastModuleItem : * mut moduleItem , pub AfterModuleChangeFunctions : * mut voidCallFunctionItem , pub ModuleStack : * mut ModuleStackItem , pub CallModuleChangeFunctions : bool , pub ListOfDefmodules : * mut Defmodule , pub CurrentModule : * mut Defmodule , pub LastDefmodule : * mut Defmodule , pub NumberOfModuleItems : :: std :: os :: raw :: c_uint , pub ListOfModuleItems : * mut moduleItem , pub ModuleChangeIndex : :: std :: os :: raw :: c_long , pub MainModuleRedefinable : bool , pub ListOfPortConstructItems : * mut portConstructItem , pub NumberOfDefmodules : :: std :: os :: raw :: c_ushort , pub AfterModuleDefinedFunctions : * mut voidCallFunctionItem , pub DefmoduleCodeItem : * mut CodeGeneratorItem , pub BNumberOfDefmodules : :: std :: os :: raw :: c_ulong , pub NumberOfPortItems : :: std :: os :: raw :: c_ulong , pub PortItemArray : * mut portItem , pub DefmoduleArray : * mut Defmodule , } # [ test ] fn bindgen_test_layout_defmoduleData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defmoduleData > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( defmoduleData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defmoduleData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defmoduleData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . LastModuleItem as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( LastModuleItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . AfterModuleChangeFunctions as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( AfterModuleChangeFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . ModuleStack as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( ModuleStack ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . CallModuleChangeFunctions as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( CallModuleChangeFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . ListOfDefmodules as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( ListOfDefmodules ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . CurrentModule as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( CurrentModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . LastDefmodule as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( LastDefmodule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . NumberOfModuleItems as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( NumberOfModuleItems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . ListOfModuleItems as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( ListOfModuleItems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . ModuleChangeIndex as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( ModuleChangeIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . MainModuleRedefinable as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( MainModuleRedefinable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . ListOfPortConstructItems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( ListOfPortConstructItems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . NumberOfDefmodules as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( NumberOfDefmodules ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . AfterModuleDefinedFunctions as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( AfterModuleDefinedFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . DefmoduleCodeItem as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( DefmoduleCodeItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . BNumberOfDefmodules as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( BNumberOfDefmodules ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . NumberOfPortItems as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( NumberOfPortItems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . PortItemArray as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( PortItemArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmoduleData > ( ) ) ) . DefmoduleArray as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( defmoduleData ) , "::" , stringify ! ( DefmoduleArray ) ) ) ; } impl Default for defmoduleData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeDefmodules ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindDefmodule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defmodule ; } extern "C" { pub fn DefmoduleName ( arg1 : * mut Defmodule ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefmodulePPForm ( arg1 : * mut Defmodule ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetNextDefmodule ( arg1 : * mut Environment , arg2 : * mut Defmodule ) -> * mut Defmodule ; } extern "C" { pub fn RemoveAllDefmodules ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn AllocateModuleStorage ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn RegisterModuleItem ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : AllocateModuleFunction , arg4 : FreeModuleFunction , arg5 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void > , arg6 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : :: std :: os :: raw :: c_ulong , arg4 : :: std :: os :: raw :: c_uint , arg5 : :: std :: os :: raw :: c_uint ) > , arg7 : FindConstructFunction ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn GetModuleItem ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : :: std :: os :: raw :: c_uint ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn SetModuleItem ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : :: std :: os :: raw :: c_uint , arg4 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn GetCurrentModule ( arg1 : * mut Environment ) -> * mut Defmodule ; } extern "C" { pub fn SetCurrentModule ( arg1 : * mut Environment , arg2 : * mut Defmodule ) -> * mut Defmodule ; } extern "C" { pub fn GetCurrentModuleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetCurrentModuleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetNumberOfModuleItems ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn CreateMainModule ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn SetListOfDefmodules ( arg1 : * mut Environment , arg2 : * mut Defmodule ) ; } extern "C" { pub fn GetListOfModuleItems ( arg1 : * mut Environment ) -> * mut moduleItem ; } extern "C" { pub fn FindModuleItem ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut moduleItem ; } extern "C" { pub fn SaveCurrentModule ( arg1 : * mut Environment ) ; } extern "C" { pub fn RestoreCurrentModule ( arg1 : * mut Environment ) ; } extern "C" { pub fn AddAfterModuleChangeFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn IllegalModuleSpecifierMessage ( arg1 : * mut Environment ) ; } extern "C" { pub fn AllocateDefmoduleGlobals ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetNumberOfDefmodules ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_ushort ; } pub type SaveCallFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut :: std :: os :: raw :: c_void ) > ; pub type SaveCallFunctionItem = saveCallFunctionItem ; pub type ParserErrorFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_long , arg6 : * mut :: std :: os :: raw :: c_void ) > ; pub type BeforeResetFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> bool > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct saveCallFunctionItem { pub name : * const :: std :: os :: raw :: c_char , pub func : SaveCallFunction , pub priority : :: std :: os :: raw :: c_int , pub next : * mut SaveCallFunctionItem , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_saveCallFunctionItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < saveCallFunctionItem > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( saveCallFunctionItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < saveCallFunctionItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( saveCallFunctionItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < saveCallFunctionItem > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( saveCallFunctionItem ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < saveCallFunctionItem > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( saveCallFunctionItem ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < saveCallFunctionItem > ( ) ) ) . priority as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( saveCallFunctionItem ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < saveCallFunctionItem > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( saveCallFunctionItem ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < saveCallFunctionItem > ( ) ) ) . context as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( saveCallFunctionItem ) , "::" , stringify ! ( context ) ) ) ; } impl Default for saveCallFunctionItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct construct { pub constructName : * const :: std :: os :: raw :: c_char , pub pluralName : * const :: std :: os :: raw :: c_char , pub parseFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool > , pub findFunction : FindConstructFunction , pub getConstructNameFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader ) -> * mut CLIPSLexeme > , pub getPPFormFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader ) -> * const :: std :: os :: raw :: c_char > , pub getModuleItemFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader ) -> * mut defmoduleItemHeader > , pub getNextItemFunction : GetNextConstructFunction , pub setNextItemFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader , arg2 : * mut ConstructHeader ) > , pub isConstructDeletableFunction : IsConstructDeletableFunction , pub deleteFunction : DeleteConstructFunction , pub freeFunction : FreeConstructFunction , pub next : * mut Construct , } # [ test ] fn bindgen_test_layout_construct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < construct > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( construct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < construct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( construct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . constructName as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( constructName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . pluralName as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( pluralName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . parseFunction as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( parseFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . findFunction as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( findFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . getConstructNameFunction as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( getConstructNameFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . getPPFormFunction as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( getPPFormFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . getModuleItemFunction as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( getModuleItemFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . getNextItemFunction as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( getNextItemFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . setNextItemFunction as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( setNextItemFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . isConstructDeletableFunction as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( isConstructDeletableFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . deleteFunction as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( deleteFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . freeFunction as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( freeFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < construct > ( ) ) ) . next as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( construct ) , "::" , stringify ! ( next ) ) ) ; } impl Default for construct { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct constructData { pub ClearReadyInProgress : bool , pub ClearInProgress : bool , pub ResetReadyInProgress : bool , pub ResetInProgress : bool , pub ClearReadyLocks : :: std :: os :: raw :: c_short , pub DanglingConstructs : :: std :: os :: raw :: c_int , pub ListOfSaveFunctions : * mut SaveCallFunctionItem , pub PrintWhileLoading : bool , pub LoadInProgress : bool , pub WatchCompilations : bool , pub CheckSyntaxMode : bool , pub ParsingConstruct : bool , pub ErrorString : * mut :: std :: os :: raw :: c_char , pub WarningString : * mut :: std :: os :: raw :: c_char , pub ParsingFileName : * mut :: std :: os :: raw :: c_char , pub ErrorFileName : * mut :: std :: os :: raw :: c_char , pub WarningFileName : * mut :: std :: os :: raw :: c_char , pub ErrLineNumber : :: std :: os :: raw :: c_long , pub WrnLineNumber : :: std :: os :: raw :: c_long , pub errorCaptureRouterCount : :: std :: os :: raw :: c_int , pub MaxErrChars : size_t , pub CurErrPos : size_t , pub MaxWrnChars : size_t , pub CurWrnPos : size_t , pub ParserErrorCallback : ParserErrorFunction , pub ParserErrorContext : * mut :: std :: os :: raw :: c_void , pub ListOfConstructs : * mut Construct , pub ListOfResetFunctions : * mut voidCallFunctionItem , pub ListOfClearFunctions : * mut voidCallFunctionItem , pub ListOfClearReadyFunctions : * mut boolCallFunctionItem , pub Executing : bool , pub BeforeResetCallback : BeforeResetFunction , } # [ test ] fn bindgen_test_layout_constructData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < constructData > ( ) , 192usize , concat ! ( "Size of: " , stringify ! ( constructData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < constructData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( constructData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ClearReadyInProgress as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ClearReadyInProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ClearInProgress as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ClearInProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ResetReadyInProgress as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ResetReadyInProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ResetInProgress as * const _ as usize } , 3usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ResetInProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ClearReadyLocks as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ClearReadyLocks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . DanglingConstructs as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( DanglingConstructs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ListOfSaveFunctions as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ListOfSaveFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . PrintWhileLoading as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( PrintWhileLoading ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . LoadInProgress as * const _ as usize } , 25usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( LoadInProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . WatchCompilations as * const _ as usize } , 26usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( WatchCompilations ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . CheckSyntaxMode as * const _ as usize } , 27usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( CheckSyntaxMode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ParsingConstruct as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ParsingConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ErrorString as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ErrorString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . WarningString as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( WarningString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ParsingFileName as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ParsingFileName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ErrorFileName as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ErrorFileName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . WarningFileName as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( WarningFileName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ErrLineNumber as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ErrLineNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . WrnLineNumber as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( WrnLineNumber ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . errorCaptureRouterCount as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( errorCaptureRouterCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . MaxErrChars as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( MaxErrChars ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . CurErrPos as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( CurErrPos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . MaxWrnChars as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( MaxWrnChars ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . CurWrnPos as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( CurWrnPos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ParserErrorCallback as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ParserErrorCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ParserErrorContext as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ParserErrorContext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ListOfConstructs as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ListOfConstructs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ListOfResetFunctions as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ListOfResetFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ListOfClearFunctions as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ListOfClearFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . ListOfClearReadyFunctions as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( ListOfClearReadyFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . Executing as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( Executing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructData > ( ) ) ) . BeforeResetCallback as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( constructData ) , "::" , stringify ! ( BeforeResetCallback ) ) ) ; } impl Default for constructData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn Clear ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn Reset ( arg1 : * mut Environment ) ; } extern "C" { pub fn Save ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn InitializeConstructData ( arg1 : * mut Environment ) ; } extern "C" { pub fn AddResetFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveResetFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn AddClearReadyFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : BoolCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveClearReadyFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn AddClearFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveClearFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn IncrementClearReadyLocks ( arg1 : * mut Environment ) ; } extern "C" { pub fn DecrementClearReadyLocks ( arg1 : * mut Environment ) ; } extern "C" { pub fn AddConstruct ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool > , arg5 : FindConstructFunction , arg6 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader ) -> * mut CLIPSLexeme > , arg7 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader ) -> * const :: std :: os :: raw :: c_char > , arg8 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader ) -> * mut defmoduleItemHeader > , arg9 : GetNextConstructFunction , arg10 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut ConstructHeader , arg2 : * mut ConstructHeader ) > , arg11 : IsConstructDeletableFunction , arg12 : DeleteConstructFunction , arg13 : FreeConstructFunction ) -> * mut Construct ; } extern "C" { pub fn RemoveConstruct ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn SetCompilationsWatch ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn GetCompilationsWatch ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetPrintWhileLoading ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn GetPrintWhileLoading ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetLoadInProgress ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn GetLoadInProgress ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn ExecutingConstruct ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetExecutingConstruct ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn InitializeConstructs ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetBeforeResetFunction ( arg1 : * mut Environment , arg2 : BeforeResetFunction ) -> BeforeResetFunction ; } extern "C" { pub fn ResetCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClearCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClearReady ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn FindConstruct ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Construct ; } extern "C" { pub fn DeinstallConstructHeader ( arg1 : * mut Environment , arg2 : * mut ConstructHeader ) ; } extern "C" { pub fn DestroyConstructHeader ( arg1 : * mut Environment , arg2 : * mut ConstructHeader ) ; } extern "C" { pub fn SetParserErrorCallback ( arg1 : * mut Environment , arg2 : ParserErrorFunction , arg3 : * mut :: std :: os :: raw :: c_void ) -> ParserErrorFunction ; } extern "C" { pub fn AddSaveFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveSaveFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn AddSaveFunctionToCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : SaveCallFunction , arg5 : * mut SaveCallFunctionItem , arg6 : * mut :: std :: os :: raw :: c_void ) -> * mut SaveCallFunctionItem ; } extern "C" { pub fn RemoveSaveFunctionFromCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut SaveCallFunctionItem , arg4 : * mut bool ) -> * mut SaveCallFunctionItem ; } extern "C" { pub fn DeallocateSaveCallList ( arg1 : * mut Environment , arg2 : * mut SaveCallFunctionItem ) ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct expr { pub type_ : :: std :: os :: raw :: c_ushort , pub __bindgen_anon_1 : expr__bindgen_ty_1 , pub argList : * mut Expression , pub nextArg : * mut Expression , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union expr__bindgen_ty_1 { pub value : * mut :: std :: os :: raw :: c_void , pub lexemeValue : * mut CLIPSLexeme , pub floatValue : * mut CLIPSFloat , pub integerValue : * mut CLIPSInteger , pub bitMapValue : * mut CLIPSBitMap , pub constructValue : * mut ConstructHeader , pub functionValue : * mut FunctionDefinition , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_expr__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < expr__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( expr__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < expr__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( expr__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr__bindgen_ty_1 > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expr__bindgen_ty_1 ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr__bindgen_ty_1 > ( ) ) ) . lexemeValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expr__bindgen_ty_1 ) , "::" , stringify ! ( lexemeValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr__bindgen_ty_1 > ( ) ) ) . floatValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expr__bindgen_ty_1 ) , "::" , stringify ! ( floatValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr__bindgen_ty_1 > ( ) ) ) . integerValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expr__bindgen_ty_1 ) , "::" , stringify ! ( integerValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr__bindgen_ty_1 > ( ) ) ) . bitMapValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expr__bindgen_ty_1 ) , "::" , stringify ! ( bitMapValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr__bindgen_ty_1 > ( ) ) ) . constructValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expr__bindgen_ty_1 ) , "::" , stringify ! ( constructValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr__bindgen_ty_1 > ( ) ) ) . functionValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expr__bindgen_ty_1 ) , "::" , stringify ! ( functionValue ) ) ) ; } impl Default for expr__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for expr__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "expr__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_expr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < expr > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( expr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < expr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( expr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expr ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr > ( ) ) ) . argList as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( expr ) , "::" , stringify ! ( argList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expr > ( ) ) ) . nextArg as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( expr ) , "::" , stringify ! ( nextArg ) ) ) ; } impl Default for expr { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for expr { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "expr {{ type: {:?}, __bindgen_anon_1: {:?}, argList: {:?}, nextArg: {:?} }}" , self . type_ , self . __bindgen_anon_1 , self . argList , self . nextArg ) } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct exprHashNode { pub hashval : :: std :: os :: raw :: c_uint , pub count : :: std :: os :: raw :: c_uint , pub exp : * mut Expression , pub next : * mut exprHashNode , pub bsaveID : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_exprHashNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < exprHashNode > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( exprHashNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < exprHashNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( exprHashNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < exprHashNode > ( ) ) ) . hashval as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( exprHashNode ) , "::" , stringify ! ( hashval ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < exprHashNode > ( ) ) ) . count as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( exprHashNode ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < exprHashNode > ( ) ) ) . exp as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( exprHashNode ) , "::" , stringify ! ( exp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < exprHashNode > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( exprHashNode ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < exprHashNode > ( ) ) ) . bsaveID as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( exprHashNode ) , "::" , stringify ! ( bsaveID ) ) ) ; } impl Default for exprHashNode { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type EXPRESSION_HN = exprHashNode ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct savedContexts { pub rtn : bool , pub brk : bool , pub nxt : * mut savedContexts , } # [ test ] fn bindgen_test_layout_savedContexts ( ) { assert_eq ! ( :: std :: mem :: size_of :: < savedContexts > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( savedContexts ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < savedContexts > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( savedContexts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < savedContexts > ( ) ) ) . rtn as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( savedContexts ) , "::" , stringify ! ( rtn ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < savedContexts > ( ) ) ) . brk as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( savedContexts ) , "::" , stringify ! ( brk ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < savedContexts > ( ) ) ) . nxt as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( savedContexts ) , "::" , stringify ! ( nxt ) ) ) ; } impl Default for savedContexts { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct expressionData { pub PTR_AND : * mut FunctionDefinition , pub PTR_OR : * mut FunctionDefinition , pub PTR_EQ : * mut FunctionDefinition , pub PTR_NEQ : * mut FunctionDefinition , pub PTR_NOT : * mut FunctionDefinition , pub ExpressionHashTable : * mut * mut EXPRESSION_HN , pub NumberOfExpressions : :: std :: os :: raw :: c_ulong , pub ExpressionArray : * mut Expression , pub ExpressionCount : :: std :: os :: raw :: c_ulong , pub svContexts : * mut SavedContexts , pub ReturnContext : bool , pub BreakContext : bool , pub SequenceOpMode : bool , } # [ test ] fn bindgen_test_layout_expressionData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < expressionData > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( expressionData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < expressionData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( expressionData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . PTR_AND as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( PTR_AND ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . PTR_OR as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( PTR_OR ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . PTR_EQ as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( PTR_EQ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . PTR_NEQ as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( PTR_NEQ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . PTR_NOT as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( PTR_NOT ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . ExpressionHashTable as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( ExpressionHashTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . NumberOfExpressions as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( NumberOfExpressions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . ExpressionArray as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( ExpressionArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . ExpressionCount as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( ExpressionCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . svContexts as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( svContexts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . ReturnContext as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( ReturnContext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . BreakContext as * const _ as usize } , 81usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( BreakContext ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < expressionData > ( ) ) ) . SequenceOpMode as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( expressionData ) , "::" , stringify ! ( SequenceOpMode ) ) ) ; } impl Default for expressionData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn ReturnExpression ( arg1 : * mut Environment , arg2 : * mut Expression ) ; } extern "C" { pub fn ExpressionInstall ( arg1 : * mut Environment , arg2 : * mut Expression ) ; } extern "C" { pub fn ExpressionDeinstall ( arg1 : * mut Environment , arg2 : * mut Expression ) ; } extern "C" { pub fn PackExpression ( arg1 : * mut Environment , arg2 : * mut Expression ) -> * mut Expression ; } extern "C" { pub fn ReturnPackedExpression ( arg1 : * mut Environment , arg2 : * mut Expression ) ; } extern "C" { pub fn InitExpressionData ( arg1 : * mut Environment ) ; } extern "C" { pub fn InitExpressionPointers ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetSequenceOperatorRecognition ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn GetSequenceOperatorRecognition ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn AddHashedExpression ( arg1 : * mut Environment , arg2 : * mut Expression ) -> * mut Expression ; } extern "C" { pub fn RemoveHashedExpression ( arg1 : * mut Environment , arg2 : * mut Expression ) ; } extern "C" { pub fn HashedExpressionIndex ( arg1 : * mut Environment , arg2 : * mut Expression ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn GetLogicalName ( arg1 : * mut UDFContext , arg2 : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetFileName ( arg1 : * mut UDFContext ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetConstructName ( arg1 : * mut UDFContext , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn ExpectedCountError ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn OpenErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn CheckFunctionArgCount ( arg1 : * mut Environment , arg2 : * mut functionDefinition , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn ExpectedTypeError0 ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn ExpectedTypeError1 ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_uint , arg4 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn ExpectedTypeError2 ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn GetModuleName ( arg1 : * mut UDFContext , arg2 : :: std :: os :: raw :: c_uint , arg3 : * mut bool ) -> * mut Defmodule ; } extern "C" { pub fn GetFactOrInstanceArgument ( arg1 : * mut UDFContext , arg2 : :: std :: os :: raw :: c_uint , arg3 : * mut UDFValue ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn IllegalLogicalNameMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn memcpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memmove ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memccpy ( __dest : * mut :: std :: os :: raw :: c_void , __src : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : size_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memset ( __s : * mut :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn memcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn memchr ( __s : * const :: std :: os :: raw :: c_void , __c : :: std :: os :: raw :: c_int , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn strcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strncat ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcoll ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_ulong ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __locale_struct { pub __locales : [ * mut __locale_data ; 13usize ] , pub __ctype_b : * const :: std :: os :: raw :: c_ushort , pub __ctype_tolower : * const :: std :: os :: raw :: c_int , pub __ctype_toupper : * const :: std :: os :: raw :: c_int , pub __names : [ * const :: std :: os :: raw :: c_char ; 13usize ] , } # [ test ] fn bindgen_test_layout___locale_struct ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __locale_struct > ( ) , 232usize , concat ! ( "Size of: " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __locale_struct > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __locale_struct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __locales as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __locales ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_b as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_b ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_tolower as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_tolower ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __ctype_toupper as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __ctype_toupper ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __locale_struct > ( ) ) ) . __names as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( __locale_struct ) , "::" , stringify ! ( __names ) ) ) ; } impl Default for __locale_struct { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type __locale_t = * mut __locale_struct ; pub type locale_t = __locale_t ; extern "C" { pub fn strcoll_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __l : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strxfrm_l ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : size_t , __l : locale_t ) -> size_t ; } extern "C" { pub fn strdup ( __s : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strndup ( __string : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strrchr ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strcspn ( __s : * const :: std :: os :: raw :: c_char , __reject : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strspn ( __s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strpbrk ( __s : * const :: std :: os :: raw :: c_char , __accept : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strstr ( __haystack : * const :: std :: os :: raw :: c_char , __needle : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __strtok_r ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strtok_r ( __s : * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char , __save_ptr : * mut * mut :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strlen ( __s : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn strnlen ( __string : * const :: std :: os :: raw :: c_char , __maxlen : size_t ) -> size_t ; } extern "C" { pub fn strerror ( __errnum : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { # [ link_name = "\u{1}__xpg_strerror_r" ] pub fn strerror_r ( __errnum : :: std :: os :: raw :: c_int , __buf : * mut :: std :: os :: raw :: c_char , __buflen : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strerror_l ( __errnum : :: std :: os :: raw :: c_int , __l : locale_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn bcmp ( __s1 : * const :: std :: os :: raw :: c_void , __s2 : * const :: std :: os :: raw :: c_void , __n : size_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn bcopy ( __src : * const :: std :: os :: raw :: c_void , __dest : * mut :: std :: os :: raw :: c_void , __n : size_t ) ; } extern "C" { pub fn bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : :: std :: os :: raw :: c_ulong ) ; } extern "C" { pub fn index ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn rindex ( __s : * const :: std :: os :: raw :: c_char , __c : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn ffs ( __i : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsl ( __l : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ffsll ( __ll : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strcasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn strncasecmp_l ( __s1 : * const :: std :: os :: raw :: c_char , __s2 : * const :: std :: os :: raw :: c_char , __n : size_t , __loc : locale_t ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn explicit_bzero ( __s : * mut :: std :: os :: raw :: c_void , __n : size_t ) ; } extern "C" { pub fn strsep ( __stringp : * mut * mut :: std :: os :: raw :: c_char , __delim : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn strsignal ( __sig : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpcpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn __stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn stpncpy ( __dest : * mut :: std :: os :: raw :: c_char , __src : * const :: std :: os :: raw :: c_char , __n : :: std :: os :: raw :: c_ulong ) -> * mut :: std :: os :: raw :: c_char ; } pub type OutOfMemoryFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : size_t ) -> bool > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct memoryPtr { pub next : * mut memoryPtr , } # [ test ] fn bindgen_test_layout_memoryPtr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < memoryPtr > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( memoryPtr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < memoryPtr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( memoryPtr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < memoryPtr > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( memoryPtr ) , "::" , stringify ! ( next ) ) ) ; } impl Default for memoryPtr { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct memoryData { pub MemoryAmount : :: std :: os :: raw :: c_longlong , pub MemoryCalls : :: std :: os :: raw :: c_longlong , pub ConserveMemory : bool , pub OutOfMemoryCallback : OutOfMemoryFunction , pub TempMemoryPtr : * mut memoryPtr , pub MemoryTable : * mut * mut memoryPtr , pub TempSize : size_t , } # [ test ] fn bindgen_test_layout_memoryData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < memoryData > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( memoryData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < memoryData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( memoryData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < memoryData > ( ) ) ) . MemoryAmount as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( memoryData ) , "::" , stringify ! ( MemoryAmount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < memoryData > ( ) ) ) . MemoryCalls as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( memoryData ) , "::" , stringify ! ( MemoryCalls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < memoryData > ( ) ) ) . ConserveMemory as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( memoryData ) , "::" , stringify ! ( ConserveMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < memoryData > ( ) ) ) . OutOfMemoryCallback as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( memoryData ) , "::" , stringify ! ( OutOfMemoryCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < memoryData > ( ) ) ) . TempMemoryPtr as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( memoryData ) , "::" , stringify ! ( TempMemoryPtr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < memoryData > ( ) ) ) . MemoryTable as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( memoryData ) , "::" , stringify ! ( MemoryTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < memoryData > ( ) ) ) . TempSize as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( memoryData ) , "::" , stringify ! ( TempSize ) ) ) ; } impl Default for memoryData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeMemory ( arg1 : * mut Environment ) ; } extern "C" { pub fn genalloc ( arg1 : * mut Environment , arg2 : size_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn DefaultOutOfMemoryFunction ( arg1 : * mut Environment , arg2 : size_t ) -> bool ; } extern "C" { pub fn SetOutOfMemoryFunction ( arg1 : * mut Environment , arg2 : OutOfMemoryFunction ) -> OutOfMemoryFunction ; } extern "C" { pub fn genfree ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : size_t ) ; } extern "C" { pub fn genrealloc ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : size_t , arg4 : size_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn MemUsed ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn MemRequests ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn UpdateMemoryUsed ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn UpdateMemoryRequests ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn ReleaseMem ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn gm1 ( arg1 : * mut Environment , arg2 : size_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn gm2 ( arg1 : * mut Environment , arg2 : size_t ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn rm ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : size_t ) ; } extern "C" { pub fn PoolSize ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn ActualPoolSize ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn SetConserveMemory ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn GetConserveMemory ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn genmemcpy ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_ulong ) ; } pub const EvalError_EE_NO_ERROR : EvalError = 0 ; pub const EvalError_EE_PARSING_ERROR : EvalError = 1 ; pub const EvalError_EE_PROCESSING_ERROR : EvalError = 2 ; pub type EvalError = u32 ; pub const BuildError_BE_NO_ERROR : BuildError = 0 ; pub const BuildError_BE_COULD_NOT_BUILD_ERROR : BuildError = 1 ; pub const BuildError_BE_CONSTRUCT_NOT_FOUND_ERROR : BuildError = 2 ; pub const BuildError_BE_PARSING_ERROR : BuildError = 3 ; pub type BuildError = u32 ; extern "C" { pub fn Build ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> BuildError ; } extern "C" { pub fn Eval ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> EvalError ; } extern "C" { pub fn StringFunctionDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn StrCatFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SymCatFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn StrLengthFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn UpcaseFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn LowcaseFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn StrCompareFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SubStringFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn StrIndexFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn EvalFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn BuildFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn StringToFieldFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn StringToField ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut UDFValue ) ; } extern "C" { pub fn StrReplaceFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } pub const LoadError_LE_NO_ERROR : LoadError = 0 ; pub const LoadError_LE_OPEN_FILE_ERROR : LoadError = 1 ; pub const LoadError_LE_PARSING_ERROR : LoadError = 2 ; pub type LoadError = u32 ; extern "C" { pub fn Load ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> LoadError ; } extern "C" { pub fn LoadConstructsFromLogicalName ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn LoadFromString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t ) -> bool ; } extern "C" { pub fn ParseConstruct ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> BuildError ; } extern "C" { pub fn ImportExportConflictMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * const :: std :: os :: raw :: c_char , arg5 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn FlushParsingMessages ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetParsingFileName ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn SetParsingFileName ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn GetErrorFileName ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn SetErrorFileName ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn GetWarningFileName ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn SetWarningFileName ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn CreateErrorCaptureRouter ( arg1 : * mut Environment ) ; } extern "C" { pub fn DeleteErrorCaptureRouter ( arg1 : * mut Environment ) ; } extern "C" { pub fn DribbleOn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn DribbleActive ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn DribbleOff ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn AppendDribble ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn LLGetcBatch ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : bool ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn Batch ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn OpenBatch ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : bool ) -> bool ; } extern "C" { pub fn OpenStringBatch ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : bool ) -> bool ; } extern "C" { pub fn RemoveBatch ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn BatchActive ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn CloseAllBatchSources ( arg1 : * mut Environment ) ; } extern "C" { pub fn BatchStar ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } pub type GENERIC_HN = genericHashNode ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct genericHashNode { pub header : TypeHeader , pub next : * mut genericHashNode , pub count : :: std :: os :: raw :: c_long , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > , pub __bindgen_padding_0 : u32 , } # [ test ] fn bindgen_test_layout_genericHashNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < genericHashNode > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( genericHashNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < genericHashNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( genericHashNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < genericHashNode > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( genericHashNode ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < genericHashNode > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( genericHashNode ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < genericHashNode > ( ) ) ) . count as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( genericHashNode ) , "::" , stringify ! ( count ) ) ) ; } impl Default for genericHashNode { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl genericHashNode { # [ inline ] pub fn permanent ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_permanent ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn markedEphemeral ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_markedEphemeral ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn needed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_needed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn bucket ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 29u8 ) as u32 ) } } # [ inline ] pub fn set_bucket ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 29u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( permanent : :: std :: os :: raw :: c_uint , markedEphemeral : :: std :: os :: raw :: c_uint , needed : :: std :: os :: raw :: c_uint , bucket : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u32 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let permanent : u32 = unsafe { :: std :: mem :: transmute ( permanent ) } ; permanent as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let markedEphemeral : u32 = unsafe { :: std :: mem :: transmute ( markedEphemeral ) } ; markedEphemeral as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let needed : u32 = unsafe { :: std :: mem :: transmute ( needed ) } ; needed as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 29u8 , { let bucket : u32 = unsafe { :: std :: mem :: transmute ( bucket ) } ; bucket as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ephemeron { pub associatedValue : * mut GENERIC_HN , pub next : * mut ephemeron , } # [ test ] fn bindgen_test_layout_ephemeron ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ephemeron > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( ephemeron ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ephemeron > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ephemeron ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ephemeron > ( ) ) ) . associatedValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ephemeron ) , "::" , stringify ! ( associatedValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ephemeron > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ephemeron ) , "::" , stringify ! ( next ) ) ) ; } impl Default for ephemeron { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct symbolMatch { pub match_ : * mut CLIPSLexeme , pub next : * mut symbolMatch , } # [ test ] fn bindgen_test_layout_symbolMatch ( ) { assert_eq ! ( :: std :: mem :: size_of :: < symbolMatch > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( symbolMatch ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < symbolMatch > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( symbolMatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolMatch > ( ) ) ) . match_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( symbolMatch ) , "::" , stringify ! ( match_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolMatch > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( symbolMatch ) , "::" , stringify ! ( next ) ) ) ; } impl Default for symbolMatch { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct symbolData { pub PositiveInfinity : * mut CLIPSLexeme , pub NegativeInfinity : * mut CLIPSLexeme , pub Zero : * mut CLIPSInteger , pub SymbolTable : * mut * mut CLIPSLexeme , pub FloatTable : * mut * mut CLIPSFloat , pub IntegerTable : * mut * mut CLIPSInteger , pub BitMapTable : * mut * mut CLIPSBitMap , pub ExternalAddressTable : * mut * mut CLIPSExternalAddress , pub NumberOfSymbols : :: std :: os :: raw :: c_ulong , pub NumberOfFloats : :: std :: os :: raw :: c_ulong , pub NumberOfIntegers : :: std :: os :: raw :: c_ulong , pub NumberOfBitMaps : :: std :: os :: raw :: c_ulong , pub NumberOfExternalAddresses : :: std :: os :: raw :: c_ulong , pub SymbolArray : * mut * mut CLIPSLexeme , pub FloatArray : * mut * mut CLIPSFloat , pub IntegerArray : * mut * mut CLIPSInteger , pub BitMapArray : * mut * mut CLIPSBitMap , pub ExternalAddressArray : * mut * mut CLIPSExternalAddress , } # [ test ] fn bindgen_test_layout_symbolData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < symbolData > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( symbolData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < symbolData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( symbolData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . PositiveInfinity as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( PositiveInfinity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . NegativeInfinity as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( NegativeInfinity ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . Zero as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( Zero ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . SymbolTable as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( SymbolTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . FloatTable as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( FloatTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . IntegerTable as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( IntegerTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . BitMapTable as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( BitMapTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . ExternalAddressTable as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( ExternalAddressTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . NumberOfSymbols as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( NumberOfSymbols ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . NumberOfFloats as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( NumberOfFloats ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . NumberOfIntegers as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( NumberOfIntegers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . NumberOfBitMaps as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( NumberOfBitMaps ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . NumberOfExternalAddresses as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( NumberOfExternalAddresses ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . SymbolArray as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( SymbolArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . FloatArray as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( FloatArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . IntegerArray as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( IntegerArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . BitMapArray as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( BitMapArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < symbolData > ( ) ) ) . ExternalAddressArray as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( symbolData ) , "::" , stringify ! ( ExternalAddressArray ) ) ) ; } impl Default for symbolData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeAtomTables ( arg1 : * mut Environment , arg2 : * mut * mut CLIPSLexeme , arg3 : * mut * mut CLIPSFloat , arg4 : * mut * mut CLIPSInteger , arg5 : * mut * mut CLIPSBitMap , arg6 : * mut * mut CLIPSExternalAddress ) ; } extern "C" { pub fn AddSymbol ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_ushort ) -> * mut CLIPSLexeme ; } extern "C" { pub fn FindSymbolHN ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_ushort ) -> * mut CLIPSLexeme ; } extern "C" { pub fn CreateFloat ( arg1 : * mut Environment , arg2 : f64 ) -> * mut CLIPSFloat ; } extern "C" { pub fn CreateInteger ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_longlong ) -> * mut CLIPSInteger ; } extern "C" { pub fn AddBitMap ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : :: std :: os :: raw :: c_ushort ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn CreateExternalAddress ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : :: std :: os :: raw :: c_ushort ) -> * mut CLIPSExternalAddress ; } extern "C" { pub fn CreateCExternalAddress ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) -> * mut CLIPSExternalAddress ; } extern "C" { pub fn FindLongHN ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_longlong ) -> * mut CLIPSInteger ; } extern "C" { pub fn HashSymbol ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : size_t ) -> size_t ; } extern "C" { pub fn HashFloat ( arg1 : f64 , arg2 : size_t ) -> size_t ; } extern "C" { pub fn HashInteger ( arg1 : :: std :: os :: raw :: c_longlong , arg2 : size_t ) -> size_t ; } extern "C" { pub fn HashBitMap ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : size_t , arg3 : :: std :: os :: raw :: c_uint ) -> size_t ; } extern "C" { pub fn HashExternalAddress ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : size_t ) -> size_t ; } extern "C" { pub fn RetainLexeme ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme ) ; } extern "C" { pub fn RetainFloat ( arg1 : * mut Environment , arg2 : * mut CLIPSFloat ) ; } extern "C" { pub fn RetainInteger ( arg1 : * mut Environment , arg2 : * mut CLIPSInteger ) ; } extern "C" { pub fn IncrementBitMapReferenceCount ( arg1 : * mut Environment , arg2 : * mut CLIPSBitMap ) ; } extern "C" { pub fn RetainExternalAddress ( arg1 : * mut Environment , arg2 : * mut CLIPSExternalAddress ) ; } extern "C" { pub fn ReleaseLexeme ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme ) ; } extern "C" { pub fn ReleaseFloat ( arg1 : * mut Environment , arg2 : * mut CLIPSFloat ) ; } extern "C" { pub fn ReleaseInteger ( arg1 : * mut Environment , arg2 : * mut CLIPSInteger ) ; } extern "C" { pub fn DecrementBitMapReferenceCount ( arg1 : * mut Environment , arg2 : * mut CLIPSBitMap ) ; } extern "C" { pub fn ReleaseExternalAddress ( arg1 : * mut Environment , arg2 : * mut CLIPSExternalAddress ) ; } extern "C" { pub fn RemoveEphemeralAtoms ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetSymbolTable ( arg1 : * mut Environment ) -> * mut * mut CLIPSLexeme ; } extern "C" { pub fn SetSymbolTable ( arg1 : * mut Environment , arg2 : * mut * mut CLIPSLexeme ) ; } extern "C" { pub fn GetFloatTable ( arg1 : * mut Environment ) -> * mut * mut CLIPSFloat ; } extern "C" { pub fn SetFloatTable ( arg1 : * mut Environment , arg2 : * mut * mut CLIPSFloat ) ; } extern "C" { pub fn GetIntegerTable ( arg1 : * mut Environment ) -> * mut * mut CLIPSInteger ; } extern "C" { pub fn SetIntegerTable ( arg1 : * mut Environment , arg2 : * mut * mut CLIPSInteger ) ; } extern "C" { pub fn GetBitMapTable ( arg1 : * mut Environment ) -> * mut * mut CLIPSBitMap ; } extern "C" { pub fn SetBitMapTable ( arg1 : * mut Environment , arg2 : * mut * mut CLIPSBitMap ) ; } extern "C" { pub fn GetExternalAddressTable ( arg1 : * mut Environment ) -> * mut * mut CLIPSExternalAddress ; } extern "C" { pub fn SetExternalAddressTable ( arg1 : * mut Environment , arg2 : * mut * mut CLIPSExternalAddress ) ; } extern "C" { pub fn RefreshSpecialSymbols ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindSymbolMatches ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_uint , arg4 : * mut size_t ) -> * mut symbolMatch ; } extern "C" { pub fn ReturnSymbolMatches ( arg1 : * mut Environment , arg2 : * mut symbolMatch ) ; } extern "C" { pub fn GetNextSymbolMatch ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t , arg4 : * mut CLIPSLexeme , arg5 : bool , arg6 : * mut size_t ) -> * mut CLIPSLexeme ; } extern "C" { pub fn ClearBitString ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : size_t ) ; } extern "C" { pub fn SetAtomicValueIndices ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn RestoreAtomicValueBuckets ( arg1 : * mut Environment ) ; } extern "C" { pub fn EphemerateValue ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn CreateSymbol ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut CLIPSLexeme ; } extern "C" { pub fn CreateString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut CLIPSLexeme ; } extern "C" { pub fn CreateInstanceName ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut CLIPSLexeme ; } extern "C" { pub fn CreateBoolean ( arg1 : * mut Environment , arg2 : bool ) -> * mut CLIPSLexeme ; } extern "C" { pub fn BitStringHasBitsSet ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : :: std :: os :: raw :: c_uint ) -> bool ; } pub type UserDefinedFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct functionDefinition { pub callFunctionName : * mut CLIPSLexeme , pub actualFunctionName : * const :: std :: os :: raw :: c_char , pub unknownReturnValueType : :: std :: os :: raw :: c_uint , pub functionPointer : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) > , pub parser : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut expr > , pub restrictions : * mut CLIPSLexeme , pub minArgs : :: std :: os :: raw :: c_ushort , pub maxArgs : :: std :: os :: raw :: c_ushort , pub overloadable : bool , pub sequenceuseok : bool , pub neededFunction : bool , pub bsaveIndex : :: std :: os :: raw :: c_ulong , pub next : * mut functionDefinition , pub usrData : * mut userData , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_functionDefinition ( ) { assert_eq ! ( :: std :: mem :: size_of :: < functionDefinition > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( functionDefinition ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < functionDefinition > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( functionDefinition ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . callFunctionName as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( callFunctionName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . actualFunctionName as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( actualFunctionName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . unknownReturnValueType as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( unknownReturnValueType ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . functionPointer as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( functionPointer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . parser as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( parser ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . restrictions as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( restrictions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . minArgs as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( minArgs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . maxArgs as * const _ as usize } , 50usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( maxArgs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . overloadable as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( overloadable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . sequenceuseok as * const _ as usize } , 53usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( sequenceuseok ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . neededFunction as * const _ as usize } , 54usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( neededFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . bsaveIndex as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( bsaveIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . next as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . usrData as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( usrData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < functionDefinition > ( ) ) ) . context as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( functionDefinition ) , "::" , stringify ! ( context ) ) ) ; } impl Default for functionDefinition { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct externalFunctionData { pub ListOfFunctions : * mut functionDefinition , pub FunctionHashtable : * mut * mut FunctionHash , } # [ test ] fn bindgen_test_layout_externalFunctionData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < externalFunctionData > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( externalFunctionData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < externalFunctionData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( externalFunctionData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < externalFunctionData > ( ) ) ) . ListOfFunctions as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( externalFunctionData ) , "::" , stringify ! ( ListOfFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < externalFunctionData > ( ) ) ) . FunctionHashtable as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( externalFunctionData ) , "::" , stringify ! ( FunctionHashtable ) ) ) ; } impl Default for externalFunctionData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub const AddUDFError_AUE_NO_ERROR : AddUDFError = 0 ; pub const AddUDFError_AUE_MIN_EXCEEDS_MAX_ERROR : AddUDFError = 1 ; pub const AddUDFError_AUE_FUNCTION_NAME_IN_USE_ERROR : AddUDFError = 2 ; pub const AddUDFError_AUE_INVALID_ARGUMENT_TYPE_ERROR : AddUDFError = 3 ; pub const AddUDFError_AUE_INVALID_RETURN_TYPE_ERROR : AddUDFError = 4 ; pub type AddUDFError = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct FunctionHash { pub fdPtr : * mut functionDefinition , pub next : * mut FunctionHash , } # [ test ] fn bindgen_test_layout_FunctionHash ( ) { assert_eq ! ( :: std :: mem :: size_of :: < FunctionHash > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( FunctionHash ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < FunctionHash > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( FunctionHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < FunctionHash > ( ) ) ) . fdPtr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( FunctionHash ) , "::" , stringify ! ( fdPtr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < FunctionHash > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( FunctionHash ) , "::" , stringify ! ( next ) ) ) ; } impl Default for FunctionHash { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeExternalFunctionData ( arg1 : * mut Environment ) ; } extern "C" { pub fn AddUDF ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_ushort , arg5 : :: std :: os :: raw :: c_ushort , arg6 : * const :: std :: os :: raw :: c_char , arg7 : UserDefinedFunction , arg8 : * const :: std :: os :: raw :: c_char , arg9 : * mut :: std :: os :: raw :: c_void ) -> AddUDFError ; } extern "C" { pub fn AddFunctionParser ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut expr > ) -> bool ; } extern "C" { pub fn RemoveFunctionParser ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn FuncSeqOvlFlags ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : bool , arg4 : bool ) -> bool ; } extern "C" { pub fn GetFunctionList ( arg1 : * mut Environment ) -> * mut functionDefinition ; } extern "C" { pub fn InstallFunctionList ( arg1 : * mut Environment , arg2 : * mut functionDefinition ) ; } extern "C" { pub fn FindFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut functionDefinition ; } extern "C" { pub fn GetNthRestriction ( arg1 : * mut Environment , arg2 : * mut functionDefinition , arg3 : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn RemoveUDF ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn GetMinimumArgs ( arg1 : * mut functionDefinition ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn GetMaximumArgs ( arg1 : * mut functionDefinition ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn UDFArgumentCount ( arg1 : * mut UDFContext ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn UDFNthArgument ( arg1 : * mut UDFContext , arg2 : :: std :: os :: raw :: c_uint , arg3 : :: std :: os :: raw :: c_uint , arg4 : * mut UDFValue ) -> bool ; } extern "C" { pub fn UDFInvalidArgumentMessage ( arg1 : * mut UDFContext , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn UDFContextFunctionName ( arg1 : * mut UDFContext ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn PrintTypesString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_uint , arg4 : bool ) ; } extern "C" { pub fn UDFFirstArgument ( arg1 : * mut UDFContext , arg2 : :: std :: os :: raw :: c_uint , arg3 : * mut UDFValue ) -> bool ; } extern "C" { pub fn UDFNextArgument ( arg1 : * mut UDFContext , arg2 : :: std :: os :: raw :: c_uint , arg3 : * mut UDFValue ) -> bool ; } extern "C" { pub fn UDFThrowError ( arg1 : * mut UDFContext ) ; } extern "C" { pub fn GetUDFContext ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn CreateEnvironment ( ) -> * mut Environment ; } extern "C" { pub fn CreateRuntimeEnvironment ( arg1 : * mut * mut CLIPSLexeme , arg2 : * mut * mut CLIPSFloat , arg3 : * mut * mut CLIPSInteger , arg4 : * mut * mut CLIPSBitMap , arg5 : * mut functionDefinition ) -> * mut Environment ; } extern "C" { pub fn DestroyEnvironment ( arg1 : * mut Environment ) -> bool ; } pub type AfterPromptFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > ; pub type BeforeCommandExecutionFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> bool > ; pub type EventFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct commandLineData { pub EvaluatingTopLevelCommand : bool , pub HaltCommandLoopBatch : bool , pub CurrentCommand : * mut expr , pub CommandString : * mut :: std :: os :: raw :: c_char , pub MaximumCharacters : size_t , pub ParsingTopLevelCommand : bool , pub BannerString : * const :: std :: os :: raw :: c_char , pub EventCallback : EventFunction , pub AfterPromptCallback : AfterPromptFunction , pub BeforeCommandExecutionCallback : BeforeCommandExecutionFunction , } # [ test ] fn bindgen_test_layout_commandLineData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < commandLineData > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( commandLineData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < commandLineData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( commandLineData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . EvaluatingTopLevelCommand as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( EvaluatingTopLevelCommand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . HaltCommandLoopBatch as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( HaltCommandLoopBatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . CurrentCommand as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( CurrentCommand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . CommandString as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( CommandString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . MaximumCharacters as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( MaximumCharacters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . ParsingTopLevelCommand as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( ParsingTopLevelCommand ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . BannerString as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( BannerString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . EventCallback as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( EventCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . AfterPromptCallback as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( AfterPromptCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < commandLineData > ( ) ) ) . BeforeCommandExecutionCallback as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( commandLineData ) , "::" , stringify ! ( BeforeCommandExecutionCallback ) ) ) ; } impl Default for commandLineData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeCommandLineData ( arg1 : * mut Environment ) ; } extern "C" { pub fn ExpandCommandString ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn FlushCommandString ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetCommandString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn AppendCommandString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn InsertCommandString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn GetCommandString ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn CompleteCommand ( arg1 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn CommandLoop ( arg1 : * mut Environment ) ; } extern "C" { pub fn CommandLoopBatch ( arg1 : * mut Environment ) ; } extern "C" { pub fn CommandLoopBatchDriver ( arg1 : * mut Environment ) ; } extern "C" { pub fn PrintPrompt ( arg1 : * mut Environment ) ; } extern "C" { pub fn PrintBanner ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetAfterPromptFunction ( arg1 : * mut Environment , arg2 : AfterPromptFunction ) ; } extern "C" { pub fn SetBeforeCommandExecutionFunction ( arg1 : * mut Environment , arg2 : BeforeCommandExecutionFunction ) ; } extern "C" { pub fn RouteCommand ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : bool ) -> bool ; } extern "C" { pub fn SetEventFunction ( arg1 : * mut Environment , arg2 : EventFunction ) -> EventFunction ; } extern "C" { pub fn TopLevelCommand ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn AppendNCommandString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn SetNCommandString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn GetCommandCompletionString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn ExecuteIfCommandComplete ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn CommandLoopOnceThenBatch ( arg1 : * mut Environment ) ; } extern "C" { pub fn CommandCompleteAndNotEmpty ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetHaltCommandLoopBatch ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn GetHaltCommandLoopBatch ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn RerouteStdin ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut * mut :: std :: os :: raw :: c_char ) ; } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct printUtilityData { pub PreserveEscapedCharacters : bool , pub AddressesToStrings : bool , pub InstanceAddressesToNames : bool , } # [ test ] fn bindgen_test_layout_printUtilityData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < printUtilityData > ( ) , 3usize , concat ! ( "Size of: " , stringify ! ( printUtilityData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < printUtilityData > ( ) , 1usize , concat ! ( "Alignment of " , stringify ! ( printUtilityData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < printUtilityData > ( ) ) ) . PreserveEscapedCharacters as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( printUtilityData ) , "::" , stringify ! ( PreserveEscapedCharacters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < printUtilityData > ( ) ) ) . AddressesToStrings as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( printUtilityData ) , "::" , stringify ! ( AddressesToStrings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < printUtilityData > ( ) ) ) . InstanceAddressesToNames as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( printUtilityData ) , "::" , stringify ! ( InstanceAddressesToNames ) ) ) ; } extern "C" { pub fn InitializePrintUtilityData ( arg1 : * mut Environment ) ; } extern "C" { pub fn WriteFloat ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : f64 ) ; } extern "C" { pub fn WriteInteger ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_longlong ) ; } extern "C" { pub fn PrintUnsignedInteger ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_ulonglong ) ; } extern "C" { pub fn PrintAtom ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_ushort , arg4 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn PrintTally ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_ulonglong , arg4 : * const :: std :: os :: raw :: c_char , arg5 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn FloatToString ( arg1 : * mut Environment , arg2 : f64 ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn LongIntegerToString ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_longlong ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DataObjectToString ( arg1 : * mut Environment , arg2 : * mut UDFValue ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn SyntaxErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn SystemError ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn PrintErrorID ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : bool ) ; } extern "C" { pub fn PrintWarningID ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : bool ) ; } extern "C" { pub fn CantFindItemErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : bool ) ; } extern "C" { pub fn CantDeleteItemErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn AlreadyParsedErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn LocalVariableErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn DivideByZeroErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn SalienceInformationError ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn SalienceRangeError ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn SalienceNonIntegerError ( arg1 : * mut Environment ) ; } extern "C" { pub fn CantFindItemInFunctionErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * const :: std :: os :: raw :: c_char , arg5 : bool ) ; } extern "C" { pub fn SlotExistError ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn FactRetractedErrorMessage ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn FactVarSlotErrorMessage1 ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn FactVarSlotErrorMessage2 ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn InvalidVarSlotErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn InstanceVarSlotErrorMessage1 ( arg1 : * mut Environment , arg2 : * mut Instance , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn InstanceVarSlotErrorMessage2 ( arg1 : * mut Environment , arg2 : * mut Instance , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn ArgumentOverUnderflowErrorMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : bool ) ; } pub type Router = router ; pub type RouterQueryFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_void ) -> bool > ; pub type RouterWriteFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut :: std :: os :: raw :: c_void ) > ; pub type RouterExitFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut :: std :: os :: raw :: c_void ) > ; pub type RouterReadFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; pub type RouterUnreadFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int > ; extern "C" { pub static mut STDOUT : * const :: std :: os :: raw :: c_char ; } extern "C" { pub static mut STDIN : * const :: std :: os :: raw :: c_char ; } extern "C" { pub static mut STDERR : * const :: std :: os :: raw :: c_char ; } extern "C" { pub static mut STDWRN : * const :: std :: os :: raw :: c_char ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct router { pub name : * const :: std :: os :: raw :: c_char , pub active : bool , pub priority : :: std :: os :: raw :: c_int , pub context : * mut :: std :: os :: raw :: c_void , pub queryCallback : RouterQueryFunction , pub writeCallback : RouterWriteFunction , pub exitCallback : RouterExitFunction , pub readCallback : RouterReadFunction , pub unreadCallback : RouterUnreadFunction , pub next : * mut Router , } # [ test ] fn bindgen_test_layout_router ( ) { assert_eq ! ( :: std :: mem :: size_of :: < router > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( router ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < router > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( router ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . active as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( active ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . priority as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . context as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( context ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . queryCallback as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( queryCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . writeCallback as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( writeCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . exitCallback as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( exitCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . readCallback as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( readCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . unreadCallback as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( unreadCallback ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < router > ( ) ) ) . next as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( router ) , "::" , stringify ! ( next ) ) ) ; } impl Default for router { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct routerData { pub CommandBufferInputCount : size_t , pub InputUngets : size_t , pub AwaitingInput : bool , pub LineCountRouter : * const :: std :: os :: raw :: c_char , pub FastCharGetRouter : * const :: std :: os :: raw :: c_char , pub FastCharGetString : * const :: std :: os :: raw :: c_char , pub FastCharGetIndex : :: std :: os :: raw :: c_long , pub ListOfRouters : * mut router , pub FastLoadFilePtr : * mut FILE , pub FastSaveFilePtr : * mut FILE , pub Abort : bool , } # [ test ] fn bindgen_test_layout_routerData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < routerData > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( routerData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < routerData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( routerData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . CommandBufferInputCount as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( CommandBufferInputCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . InputUngets as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( InputUngets ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . AwaitingInput as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( AwaitingInput ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . LineCountRouter as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( LineCountRouter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . FastCharGetRouter as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( FastCharGetRouter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . FastCharGetString as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( FastCharGetString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . FastCharGetIndex as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( FastCharGetIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . ListOfRouters as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( ListOfRouters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . FastLoadFilePtr as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( FastLoadFilePtr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . FastSaveFilePtr as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( FastSaveFilePtr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < routerData > ( ) ) ) . Abort as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( routerData ) , "::" , stringify ! ( Abort ) ) ) ; } impl Default for routerData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeDefaultRouters ( arg1 : * mut Environment ) ; } extern "C" { pub fn WriteString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn Write ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn Writeln ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn ReadRouter ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn UnreadRouter ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ExitRouter ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn AbortExit ( arg1 : * mut Environment ) ; } extern "C" { pub fn AddRouter ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : RouterQueryFunction , arg5 : RouterWriteFunction , arg6 : RouterReadFunction , arg7 : RouterUnreadFunction , arg8 : RouterExitFunction , arg9 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn DeleteRouter ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn QueryRouters ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn DeactivateRouter ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn ActivateRouter ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn SetFastLoad ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn SetFastSave ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn GetFastLoad ( arg1 : * mut Environment ) -> * mut FILE ; } extern "C" { pub fn GetFastSave ( arg1 : * mut Environment ) -> * mut FILE ; } extern "C" { pub fn UnrecognizedRouterMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn PrintNRouter ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : :: std :: os :: raw :: c_ulong ) ; } extern "C" { pub fn InputBufferCount ( arg1 : * mut Environment ) -> size_t ; } extern "C" { pub fn FindRouter ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Router ; } extern "C" { pub fn PrintRouterExists ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct fileRouter { pub logicalName : * const :: std :: os :: raw :: c_char , pub stream : * mut FILE , pub next : * mut fileRouter , } # [ test ] fn bindgen_test_layout_fileRouter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < fileRouter > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( fileRouter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < fileRouter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( fileRouter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fileRouter > ( ) ) ) . logicalName as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( fileRouter ) , "::" , stringify ! ( logicalName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fileRouter > ( ) ) ) . stream as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( fileRouter ) , "::" , stringify ! ( stream ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fileRouter > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( fileRouter ) , "::" , stringify ! ( next ) ) ) ; } impl Default for fileRouter { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct fileRouterData { pub ListOfFileRouters : * mut fileRouter , } # [ test ] fn bindgen_test_layout_fileRouterData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < fileRouterData > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( fileRouterData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < fileRouterData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( fileRouterData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fileRouterData > ( ) ) ) . ListOfFileRouters as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( fileRouterData ) , "::" , stringify ! ( ListOfFileRouters ) ) ) ; } impl Default for fileRouterData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeFileRouter ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindFptr ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn OpenAFile ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn CloseAllFiles ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn CloseFile ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn FindFile ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn FlushAllFiles ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn FlushFile ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn RewindFile ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn TellFile ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn SeekFile ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_long , arg4 : :: std :: os :: raw :: c_int ) -> bool ; } pub type StringRouter = stringRouter ; pub type StringBuilderRouter = stringBuilderRouter ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stringRouter { pub name : * const :: std :: os :: raw :: c_char , pub readString : * const :: std :: os :: raw :: c_char , pub writeString : * mut :: std :: os :: raw :: c_char , pub currentPosition : size_t , pub maximumPosition : size_t , pub readWriteType : :: std :: os :: raw :: c_int , pub next : * mut StringRouter , } # [ test ] fn bindgen_test_layout_stringRouter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stringRouter > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( stringRouter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stringRouter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stringRouter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouter > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stringRouter ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouter > ( ) ) ) . readString as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stringRouter ) , "::" , stringify ! ( readString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouter > ( ) ) ) . writeString as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stringRouter ) , "::" , stringify ! ( writeString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouter > ( ) ) ) . currentPosition as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( stringRouter ) , "::" , stringify ! ( currentPosition ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouter > ( ) ) ) . maximumPosition as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( stringRouter ) , "::" , stringify ! ( maximumPosition ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouter > ( ) ) ) . readWriteType as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( stringRouter ) , "::" , stringify ! ( readWriteType ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouter > ( ) ) ) . next as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( stringRouter ) , "::" , stringify ! ( next ) ) ) ; } impl Default for stringRouter { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stringBuilderRouter { pub name : * const :: std :: os :: raw :: c_char , pub SBR : * mut StringBuilder , pub next : * mut StringBuilderRouter , } # [ test ] fn bindgen_test_layout_stringBuilderRouter ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stringBuilderRouter > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( stringBuilderRouter ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stringBuilderRouter > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stringBuilderRouter ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringBuilderRouter > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stringBuilderRouter ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringBuilderRouter > ( ) ) ) . SBR as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stringBuilderRouter ) , "::" , stringify ! ( SBR ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringBuilderRouter > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( stringBuilderRouter ) , "::" , stringify ! ( next ) ) ) ; } impl Default for stringBuilderRouter { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct stringRouterData { pub ListOfStringRouters : * mut StringRouter , pub ListOfStringBuilderRouters : * mut StringBuilderRouter , } # [ test ] fn bindgen_test_layout_stringRouterData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < stringRouterData > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( stringRouterData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < stringRouterData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( stringRouterData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouterData > ( ) ) ) . ListOfStringRouters as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( stringRouterData ) , "::" , stringify ! ( ListOfStringRouters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < stringRouterData > ( ) ) ) . ListOfStringBuilderRouters as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( stringRouterData ) , "::" , stringify ! ( ListOfStringBuilderRouters ) ) ) ; } impl Default for stringRouterData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeStringRouter ( arg1 : * mut Environment ) ; } extern "C" { pub fn OpenStringSource ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : size_t ) -> bool ; } extern "C" { pub fn OpenTextSource ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : size_t , arg5 : size_t ) -> bool ; } extern "C" { pub fn CloseStringSource ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn OpenStringDestination ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_char , arg4 : size_t ) -> bool ; } extern "C" { pub fn CloseStringDestination ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn OpenStringBuilderDestination ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut StringBuilder ) -> bool ; } extern "C" { pub fn CloseStringBuilderDestination ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn IOFunctionDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetFullCRLF ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn PrintoutFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PrintFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PrintlnFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ReadFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn OpenFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CloseFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FlushFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RewindFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn TellFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SeekFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetCharFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn UngetCharFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PutCharFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ReadlineFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FormatFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RemoveFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ChdirFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RenameFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetLocaleFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ReadNumberFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } pub type __jmp_buf = [ :: std :: os :: raw :: c_long ; 8usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct __jmp_buf_tag { pub __jmpbuf : __jmp_buf , pub __mask_was_saved : :: std :: os :: raw :: c_int , pub __saved_mask : __sigset_t , } # [ test ] fn bindgen_test_layout___jmp_buf_tag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __jmp_buf_tag > ( ) , 200usize , concat ! ( "Size of: " , stringify ! ( __jmp_buf_tag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __jmp_buf_tag > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __jmp_buf_tag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __jmpbuf as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __jmpbuf ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __mask_was_saved as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __mask_was_saved ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __jmp_buf_tag > ( ) ) ) . __saved_mask as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( __jmp_buf_tag ) , "::" , stringify ! ( __saved_mask ) ) ) ; } pub type jmp_buf = [ __jmp_buf_tag ; 1usize ] ; extern "C" { pub fn setjmp ( __env : * mut __jmp_buf_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn __sigsetjmp ( __env : * mut __jmp_buf_tag , __savemask : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn _setjmp ( __env : * mut __jmp_buf_tag ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn longjmp ( __env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn _longjmp ( __env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int ) ; } pub type sigjmp_buf = [ __jmp_buf_tag ; 1usize ] ; extern "C" { pub fn siglongjmp ( __env : * mut __jmp_buf_tag , __val : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn gentime ( ) -> f64 ; } extern "C" { pub fn gensystem ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn GenOpenReadBinary ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn GetSeekCurBinary ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn GetSeekSetBinary ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn GenTellBinary ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_long ) ; } extern "C" { pub fn GenCloseBinary ( arg1 : * mut Environment ) ; } extern "C" { pub fn GenReadBinary ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : size_t ) ; } extern "C" { pub fn GenOpen ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut FILE ; } extern "C" { pub fn GenClose ( arg1 : * mut Environment , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn GenFlush ( arg1 : * mut Environment , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn GenRewind ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn GenTell ( arg1 : * mut Environment , arg2 : * mut FILE ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn GenSeek ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : :: std :: os :: raw :: c_long , arg4 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn genexit ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn genrand ( ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn genseed ( arg1 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn genremove ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn genrename ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn gengetcwd ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn GenWrite ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : size_t , arg3 : * mut FILE ) ; } extern "C" { pub fn SetBeforeOpenFunction ( arg1 : * mut Environment , arg2 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_int > ) -> :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_int > ) -> :: std :: os :: raw :: c_int > ; } extern "C" { pub fn SetAfterOpenFunction ( arg1 : * mut Environment , arg2 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_int > ) -> :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_int > ) -> :: std :: os :: raw :: c_int > ; } extern "C" { pub fn gensprintf ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char , ... ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn genstrcpy ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn genstrncpy ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn genstrcat ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn genstrncat ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t ) -> * mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn genchdir ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn SetJmpBuffer ( arg1 : * mut Environment , arg2 : * mut jmp_buf ) ; } extern "C" { pub fn genprintfile ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn gengetchar ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn genungetchar ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn InitializeSystemDependentData ( arg1 : * mut Environment ) ; } extern "C" { pub fn InitializeNonportableFeatures ( arg1 : * mut Environment ) ; } extern "C" { pub fn BasicMathFunctionDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn AdditionFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn MultiplicationFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SubtractionFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DivisionFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DivFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn IntegerFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FloatFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn AbsFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn MinFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn MaxFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } pub const FunctionArgumentsError_FAE_NO_ERROR : FunctionArgumentsError = 0 ; pub const FunctionArgumentsError_FAE_COUNT_ERROR : FunctionArgumentsError = 1 ; pub const FunctionArgumentsError_FAE_TYPE_ERROR : FunctionArgumentsError = 2 ; pub type FunctionArgumentsError = u32 ; pub type Token = token ; pub const TokenType_SYMBOL_TOKEN : TokenType = 1025 ; pub const TokenType_STRING_TOKEN : TokenType = 1026 ; pub const TokenType_INSTANCE_NAME_TOKEN : TokenType = 1027 ; pub const TokenType_FLOAT_TOKEN : TokenType = 1028 ; pub const TokenType_INTEGER_TOKEN : TokenType = 1029 ; pub const TokenType_LEFT_PARENTHESIS_TOKEN : TokenType = 1030 ; pub const TokenType_RIGHT_PARENTHESIS_TOKEN : TokenType = 1031 ; pub const TokenType_SF_VARIABLE_TOKEN : TokenType = 1032 ; pub const TokenType_MF_VARIABLE_TOKEN : TokenType = 1033 ; pub const TokenType_GBL_VARIABLE_TOKEN : TokenType = 1034 ; pub const TokenType_SF_WILDCARD_TOKEN : TokenType = 1035 ; pub const TokenType_MF_WILDCARD_TOKEN : TokenType = 1036 ; pub const TokenType_MF_GBL_VARIABLE_TOKEN : TokenType = 1037 ; pub const TokenType_NOT_CONSTRAINT_TOKEN : TokenType = 1038 ; pub const TokenType_AND_CONSTRAINT_TOKEN : TokenType = 1039 ; pub const TokenType_OR_CONSTRAINT_TOKEN : TokenType = 1040 ; pub const TokenType_STOP_TOKEN : TokenType = 1041 ; pub const TokenType_UNKNOWN_VALUE_TOKEN : TokenType = 1042 ; pub type TokenType = u32 ; # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct token { pub tknType : TokenType , pub __bindgen_anon_1 : token__bindgen_ty_1 , pub printForm : * const :: std :: os :: raw :: c_char , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union token__bindgen_ty_1 { pub value : * mut :: std :: os :: raw :: c_void , pub lexemeValue : * mut CLIPSLexeme , pub floatValue : * mut CLIPSFloat , pub integerValue : * mut CLIPSInteger , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_token__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < token__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( token__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < token__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( token__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < token__bindgen_ty_1 > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( token__bindgen_ty_1 ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < token__bindgen_ty_1 > ( ) ) ) . lexemeValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( token__bindgen_ty_1 ) , "::" , stringify ! ( lexemeValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < token__bindgen_ty_1 > ( ) ) ) . floatValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( token__bindgen_ty_1 ) , "::" , stringify ! ( floatValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < token__bindgen_ty_1 > ( ) ) ) . integerValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( token__bindgen_ty_1 ) , "::" , stringify ! ( integerValue ) ) ) ; } impl Default for token__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for token__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "token__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_token ( ) { assert_eq ! ( :: std :: mem :: size_of :: < token > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( token ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < token > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( token ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < token > ( ) ) ) . tknType as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( token ) , "::" , stringify ! ( tknType ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < token > ( ) ) ) . printForm as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( token ) , "::" , stringify ! ( printForm ) ) ) ; } impl Default for token { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for token { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "token {{ tknType: {:?}, __bindgen_anon_1: {:?}, printForm: {:?} }}" , self . tknType , self . __bindgen_anon_1 , self . printForm ) } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct scannerData { pub GlobalString : * mut :: std :: os :: raw :: c_char , pub GlobalMax : size_t , pub GlobalPos : size_t , pub LineCount : :: std :: os :: raw :: c_long , pub IgnoreCompletionErrors : bool , } # [ test ] fn bindgen_test_layout_scannerData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < scannerData > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( scannerData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < scannerData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( scannerData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < scannerData > ( ) ) ) . GlobalString as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( scannerData ) , "::" , stringify ! ( GlobalString ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < scannerData > ( ) ) ) . GlobalMax as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( scannerData ) , "::" , stringify ! ( GlobalMax ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < scannerData > ( ) ) ) . GlobalPos as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( scannerData ) , "::" , stringify ! ( GlobalPos ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < scannerData > ( ) ) ) . LineCount as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( scannerData ) , "::" , stringify ! ( LineCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < scannerData > ( ) ) ) . IgnoreCompletionErrors as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( scannerData ) , "::" , stringify ! ( IgnoreCompletionErrors ) ) ) ; } impl Default for scannerData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeScannerData ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetToken ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut token ) ; } extern "C" { pub fn CopyToken ( arg1 : * mut token , arg2 : * mut token ) ; } extern "C" { pub fn ResetLineCount ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetLineCount ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn SetLineCount ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_long ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn IncrementLineCount ( arg1 : * mut Environment ) ; } extern "C" { pub fn DecrementLineCount ( arg1 : * mut Environment ) ; } extern "C" { pub fn TokenTypeToType ( arg1 : TokenType ) -> :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn Function0Parse ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut expr ; } extern "C" { pub fn Function1Parse ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut expr ; } extern "C" { pub fn Function2Parse ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut expr ; } extern "C" { pub fn PushRtnBrkContexts ( arg1 : * mut Environment ) ; } extern "C" { pub fn PopRtnBrkContexts ( arg1 : * mut Environment ) ; } extern "C" { pub fn ReplaceSequenceExpansionOps ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * mut expr , arg4 : * mut :: std :: os :: raw :: c_void , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn CollectArguments ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut expr ; } extern "C" { pub fn ArgumentParse ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut bool ) -> * mut expr ; } extern "C" { pub fn ParseAtomOrExpression ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut token ) -> * mut expr ; } extern "C" { pub fn ParseConstantArguments ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut bool ) -> * mut Expression ; } extern "C" { pub fn GroupActions ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut token , arg4 : bool , arg5 : * const :: std :: os :: raw :: c_char , arg6 : bool ) -> * mut expr ; } extern "C" { pub fn RemoveUnneededProgn ( arg1 : * mut Environment , arg2 : * mut expr ) -> * mut expr ; } extern "C" { pub fn PopulateRestriction ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_uint , arg3 : :: std :: os :: raw :: c_uint , arg4 : * const :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn CheckExpressionAgainstRestrictions ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * mut functionDefinition , arg4 : * const :: std :: os :: raw :: c_char ) -> FunctionArgumentsError ; } extern "C" { pub fn RestrictionExists ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn MiscFunctionDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn ExitCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CreateFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetgenFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GensymFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GensymStarFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RandomFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SeedFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn LengthFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ConserveMemCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ReleaseMemCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn MemUsedCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn MemRequestsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn OptionsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn OperatingSystemFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ExpandFuncCall ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DummyExpandFuncMultifield ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CauseEvaluationError ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetSORCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetSORCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetFunctionRestrictions ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn AproposCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GensymStar ( arg1 : * mut Environment , arg2 : * mut UDFValue ) ; } extern "C" { pub fn GetFunctionListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FuncallFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn NewFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CallFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn TimerFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn TimeFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SystemCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn LocalTimeFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GMTimeFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetErrorFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClearErrorValue ( arg1 : * mut Environment ) ; } extern "C" { pub fn ClearErrorFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetErrorFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetErrorValue ( arg1 : * mut Environment , arg2 : * mut TypeHeader ) ; } extern "C" { pub fn VoidFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } pub type WatchItemRecord = watchItemRecord ; pub const WatchItem_ALL : WatchItem = 0 ; pub const WatchItem_FACTS : WatchItem = 1 ; pub const WatchItem_INSTANCES : WatchItem = 2 ; pub const WatchItem_SLOTS : WatchItem = 3 ; pub const WatchItem_RULES : WatchItem = 4 ; pub const WatchItem_ACTIVATIONS : WatchItem = 5 ; pub const WatchItem_MESSAGES : WatchItem = 6 ; pub const WatchItem_MESSAGE_HANDLERS : WatchItem = 7 ; pub const WatchItem_GENERIC_FUNCTIONS : WatchItem = 8 ; pub const WatchItem_METHODS : WatchItem = 9 ; pub const WatchItem_DEFFUNCTIONS : WatchItem = 10 ; pub const WatchItem_COMPILATIONS : WatchItem = 11 ; pub const WatchItem_STATISTICS : WatchItem = 12 ; pub const WatchItem_GLOBALS : WatchItem = 13 ; pub const WatchItem_FOCUS : WatchItem = 14 ; pub type WatchItem = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct watchItemRecord { pub name : * const :: std :: os :: raw :: c_char , pub flag : * mut bool , pub code : :: std :: os :: raw :: c_int , pub priority : :: std :: os :: raw :: c_int , pub accessFunc : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : bool , arg4 : * mut expr ) -> bool > , pub printFunc : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut expr ) -> bool > , pub next : * mut WatchItemRecord , } # [ test ] fn bindgen_test_layout_watchItemRecord ( ) { assert_eq ! ( :: std :: mem :: size_of :: < watchItemRecord > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( watchItemRecord ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < watchItemRecord > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( watchItemRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < watchItemRecord > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( watchItemRecord ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < watchItemRecord > ( ) ) ) . flag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( watchItemRecord ) , "::" , stringify ! ( flag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < watchItemRecord > ( ) ) ) . code as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( watchItemRecord ) , "::" , stringify ! ( code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < watchItemRecord > ( ) ) ) . priority as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( watchItemRecord ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < watchItemRecord > ( ) ) ) . accessFunc as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( watchItemRecord ) , "::" , stringify ! ( accessFunc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < watchItemRecord > ( ) ) ) . printFunc as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( watchItemRecord ) , "::" , stringify ! ( printFunc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < watchItemRecord > ( ) ) ) . next as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( watchItemRecord ) , "::" , stringify ! ( next ) ) ) ; } impl Default for watchItemRecord { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct watchData { pub ListOfWatchItems : * mut WatchItemRecord , } # [ test ] fn bindgen_test_layout_watchData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < watchData > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( watchData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < watchData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( watchData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < watchData > ( ) ) ) . ListOfWatchItems as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( watchData ) , "::" , stringify ! ( ListOfWatchItems ) ) ) ; } impl Default for watchData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn Watch ( arg1 : * mut Environment , arg2 : WatchItem ) ; } extern "C" { pub fn Unwatch ( arg1 : * mut Environment , arg2 : WatchItem ) ; } extern "C" { pub fn WatchString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn UnwatchString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn InitializeWatchData ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetWatchItem ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : bool , arg4 : * mut expr ) -> bool ; } extern "C" { pub fn GetWatchItem ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn AddWatchItem ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut bool , arg5 : :: std :: os :: raw :: c_int , arg6 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : bool , arg4 : * mut expr ) -> bool > , arg7 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut expr ) -> bool > ) -> bool ; } extern "C" { pub fn GetNthWatchName ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetNthWatchValue ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn WatchCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn UnwatchCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListWatchItemsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn WatchFunctionDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetWatchItemCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetWatchState ( arg1 : * mut Environment , arg2 : WatchItem ) -> bool ; } extern "C" { pub fn SetWatchState ( arg1 : * mut Environment , arg2 : WatchItem , arg3 : bool ) ; } extern "C" { pub fn DefmoduleBasicCommands ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetDefmoduleListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefmoduleList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn PPDefmoduleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDefmodule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn PPDefmoduleNil ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn ListDefmodulesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefmodules ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn AllocateExpressions ( arg1 : * mut Environment ) ; } extern "C" { pub fn RefreshExpressions ( arg1 : * mut Environment ) ; } extern "C" { pub fn ClearBloadedExpressions ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindHashedExpressions ( arg1 : * mut Environment ) ; } extern "C" { pub fn BsaveHashedExpressions ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn BsaveConstructExpressions ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn BsaveExpression ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * mut FILE ) ; } extern "C" { pub fn MarkNeededAtomicValues ( arg1 : Environment ) ; } extern "C" { pub fn WriteNeededAtomicValues ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn ReadNeededAtomicValues ( arg1 : * mut Environment ) ; } extern "C" { pub fn InitAtomicValueNeededFlags ( arg1 : * mut Environment ) ; } extern "C" { pub fn FreeAtomicValueStorage ( arg1 : * mut Environment ) ; } extern "C" { pub fn WriteNeededSymbols ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn WriteNeededFloats ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn WriteNeededIntegers ( arg1 : * mut Environment , arg2 : * mut FILE ) ; } extern "C" { pub fn ReadNeededSymbols ( arg1 : * mut Environment ) ; } extern "C" { pub fn ReadNeededFloats ( arg1 : * mut Environment ) ; } extern "C" { pub fn ReadNeededIntegers ( arg1 : * mut Environment ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct bloadData { pub BinaryPrefixID : * const :: std :: os :: raw :: c_char , pub BinaryVersionID : * const :: std :: os :: raw :: c_char , pub BinarySizes : * mut :: std :: os :: raw :: c_char , pub FunctionArray : * mut * mut functionDefinition , pub BloadActive : bool , pub BeforeBloadFunctions : * mut voidCallFunctionItem , pub AfterBloadFunctions : * mut voidCallFunctionItem , pub ClearBloadReadyFunctions : * mut boolCallFunctionItem , pub AbortBloadFunctions : * mut voidCallFunctionItem , } # [ test ] fn bindgen_test_layout_bloadData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < bloadData > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( bloadData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < bloadData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( bloadData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . BinaryPrefixID as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( BinaryPrefixID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . BinaryVersionID as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( BinaryVersionID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . BinarySizes as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( BinarySizes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . FunctionArray as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( FunctionArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . BloadActive as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( BloadActive ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . BeforeBloadFunctions as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( BeforeBloadFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . AfterBloadFunctions as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( AfterBloadFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . ClearBloadReadyFunctions as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( ClearBloadReadyFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadData > ( ) ) ) . AbortBloadFunctions as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( bloadData ) , "::" , stringify ! ( AbortBloadFunctions ) ) ) ; } impl Default for bloadData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeBloadData ( arg1 : * mut Environment ) ; } extern "C" { pub fn BloadCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Bload ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn BloadandRefresh ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ulong , arg3 : size_t , arg4 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : :: std :: os :: raw :: c_ulong ) > ) ; } extern "C" { pub fn Bloaded ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn AddBeforeBloadFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn AddAfterBloadFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn AddClearBloadReadyFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : BoolCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn AddAbortBloadFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn CannotLoadWithBloadMessage ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct BinaryItem { pub name : * const :: std :: os :: raw :: c_char , pub findFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , pub bloadStorageFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , pub bloadFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , pub clearFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , pub expressionFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE ) > , pub bsaveStorageFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE ) > , pub bsaveFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE ) > , pub priority : :: std :: os :: raw :: c_int , pub next : * mut BinaryItem , } # [ test ] fn bindgen_test_layout_BinaryItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < BinaryItem > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( BinaryItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < BinaryItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( BinaryItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . findFunction as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( findFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . bloadStorageFunction as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( bloadStorageFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . bloadFunction as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( bloadFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . clearFunction as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( clearFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . expressionFunction as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( expressionFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . bsaveStorageFunction as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( bsaveStorageFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . bsaveFunction as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( bsaveFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . priority as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < BinaryItem > ( ) ) ) . next as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( BinaryItem ) , "::" , stringify ! ( next ) ) ) ; } impl Default for BinaryItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct bloadcntsv { pub val : :: std :: os :: raw :: c_ulong , pub nxt : * mut bloadcntsv , } # [ test ] fn bindgen_test_layout_bloadcntsv ( ) { assert_eq ! ( :: std :: mem :: size_of :: < bloadcntsv > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( bloadcntsv ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < bloadcntsv > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( bloadcntsv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadcntsv > ( ) ) ) . val as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( bloadcntsv ) , "::" , stringify ! ( val ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bloadcntsv > ( ) ) ) . nxt as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( bloadcntsv ) , "::" , stringify ! ( nxt ) ) ) ; } impl Default for bloadcntsv { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type BLOADCNTSV = bloadcntsv ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct bsave_expr { pub type_ : :: std :: os :: raw :: c_ushort , pub value : :: std :: os :: raw :: c_ulong , pub argList : :: std :: os :: raw :: c_ulong , pub nextArg : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_bsave_expr ( ) { assert_eq ! ( :: std :: mem :: size_of :: < bsave_expr > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( bsave_expr ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < bsave_expr > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( bsave_expr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bsave_expr > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( bsave_expr ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bsave_expr > ( ) ) ) . value as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( bsave_expr ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bsave_expr > ( ) ) ) . argList as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( bsave_expr ) , "::" , stringify ! ( argList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bsave_expr > ( ) ) ) . nextArg as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( bsave_expr ) , "::" , stringify ! ( nextArg ) ) ) ; } pub type BSAVE_EXPRESSION = bsave_expr ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct bsaveData { pub ListOfBinaryItems : * mut BinaryItem , pub BloadCountSaveTop : * mut BLOADCNTSV , } # [ test ] fn bindgen_test_layout_bsaveData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < bsaveData > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( bsaveData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < bsaveData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( bsaveData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bsaveData > ( ) ) ) . ListOfBinaryItems as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( bsaveData ) , "::" , stringify ! ( ListOfBinaryItems ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < bsaveData > ( ) ) ) . BloadCountSaveTop as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( bsaveData ) , "::" , stringify ! ( BloadCountSaveTop ) ) ) ; } impl Default for bsaveData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeBsaveData ( arg1 : * mut Environment ) ; } extern "C" { pub fn BsaveCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Bsave ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn MarkNeededItems ( arg1 : * mut Environment , arg2 : * mut expr ) ; } extern "C" { pub fn SaveBloadCount ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ulong ) ; } extern "C" { pub fn RestoreBloadCount ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_ulong ) ; } extern "C" { pub fn AddBinaryItem ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , arg5 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE ) > , arg6 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE ) > , arg7 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE ) > , arg8 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , arg9 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , arg10 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > ) -> bool ; } pub type Defrule = defrule ; pub type PatternNodeHeader = patternNodeHeader ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct patternNodeHeader { pub firstHash : * mut alphaMemoryHash , pub lastHash : * mut alphaMemoryHash , pub entryJoin : * mut joinNode , pub rightHash : * mut Expression , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub __bindgen_padding_0 : [ u8 ; 7usize ] , } # [ test ] fn bindgen_test_layout_patternNodeHeader ( ) { assert_eq ! ( :: std :: mem :: size_of :: < patternNodeHeader > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( patternNodeHeader ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < patternNodeHeader > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( patternNodeHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHeader > ( ) ) ) . firstHash as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHeader ) , "::" , stringify ! ( firstHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHeader > ( ) ) ) . lastHash as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHeader ) , "::" , stringify ! ( lastHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHeader > ( ) ) ) . entryJoin as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHeader ) , "::" , stringify ! ( entryJoin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHeader > ( ) ) ) . rightHash as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHeader ) , "::" , stringify ! ( rightHash ) ) ) ; } impl Default for patternNodeHeader { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl patternNodeHeader { # [ inline ] pub fn singlefieldNode ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_singlefieldNode ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn multifieldNode ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_multifieldNode ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn stopNode ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_stopNode ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn initialize ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_initialize ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn marked ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_marked ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn beginSlot ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_beginSlot ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn endSlot ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 6usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_endSlot ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 6usize , 1u8 , val as u64 ) } } # [ inline ] pub fn selector ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 7usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_selector ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 7usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( singlefieldNode : :: std :: os :: raw :: c_uint , multifieldNode : :: std :: os :: raw :: c_uint , stopNode : :: std :: os :: raw :: c_uint , initialize : :: std :: os :: raw :: c_uint , marked : :: std :: os :: raw :: c_uint , beginSlot : :: std :: os :: raw :: c_uint , endSlot : :: std :: os :: raw :: c_uint , selector : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let singlefieldNode : u32 = unsafe { :: std :: mem :: transmute ( singlefieldNode ) } ; singlefieldNode as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let multifieldNode : u32 = unsafe { :: std :: mem :: transmute ( multifieldNode ) } ; multifieldNode as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let stopNode : u32 = unsafe { :: std :: mem :: transmute ( stopNode ) } ; stopNode as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let initialize : u32 = unsafe { :: std :: mem :: transmute ( initialize ) } ; initialize as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let marked : u32 = unsafe { :: std :: mem :: transmute ( marked ) } ; marked as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let beginSlot : u32 = unsafe { :: std :: mem :: transmute ( beginSlot ) } ; beginSlot as u64 } ) ; __bindgen_bitfield_unit . set ( 6usize , 1u8 , { let endSlot : u32 = unsafe { :: std :: mem :: transmute ( endSlot ) } ; endSlot as u64 } ) ; __bindgen_bitfield_unit . set ( 7usize , 1u8 , { let selector : u32 = unsafe { :: std :: mem :: transmute ( selector ) } ; selector as u64 } ) ; __bindgen_bitfield_unit } } pub type GenericMatch = genericMatch ; pub type PatternMatch = patternMatch ; pub type PartialMatch = partialMatch ; pub type AlphaMatch = alphaMatch ; pub type MultifieldMarker = multifieldMarker ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct patternMatch { pub next : * mut PatternMatch , pub theMatch : * mut PartialMatch , pub matchingPattern : * mut PatternNodeHeader , } # [ test ] fn bindgen_test_layout_patternMatch ( ) { assert_eq ! ( :: std :: mem :: size_of :: < patternMatch > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( patternMatch ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < patternMatch > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( patternMatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternMatch > ( ) ) ) . next as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( patternMatch ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternMatch > ( ) ) ) . theMatch as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( patternMatch ) , "::" , stringify ! ( theMatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternMatch > ( ) ) ) . matchingPattern as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( patternMatch ) , "::" , stringify ! ( matchingPattern ) ) ) ; } impl Default for patternMatch { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct genericMatch { pub gm : genericMatch__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union genericMatch__bindgen_ty_1 { pub theValue : * mut :: std :: os :: raw :: c_void , pub theMatch : * mut AlphaMatch , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_genericMatch__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < genericMatch__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( genericMatch__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < genericMatch__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( genericMatch__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < genericMatch__bindgen_ty_1 > ( ) ) ) . theValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( genericMatch__bindgen_ty_1 ) , "::" , stringify ! ( theValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < genericMatch__bindgen_ty_1 > ( ) ) ) . theMatch as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( genericMatch__bindgen_ty_1 ) , "::" , stringify ! ( theMatch ) ) ) ; } impl Default for genericMatch__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for genericMatch__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "genericMatch__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_genericMatch ( ) { assert_eq ! ( :: std :: mem :: size_of :: < genericMatch > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( genericMatch ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < genericMatch > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( genericMatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < genericMatch > ( ) ) ) . gm as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( genericMatch ) , "::" , stringify ! ( gm ) ) ) ; } impl Default for genericMatch { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for genericMatch { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "genericMatch {{ gm: {:?} }}" , self . gm ) } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct partialMatch { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub bcount : :: std :: os :: raw :: c_ushort , pub hashValue : :: std :: os :: raw :: c_ulong , pub owner : * mut :: std :: os :: raw :: c_void , pub marker : * mut :: std :: os :: raw :: c_void , pub dependents : * mut :: std :: os :: raw :: c_void , pub nextInMemory : * mut PartialMatch , pub prevInMemory : * mut PartialMatch , pub children : * mut PartialMatch , pub rightParent : * mut PartialMatch , pub nextRightChild : * mut PartialMatch , pub prevRightChild : * mut PartialMatch , pub leftParent : * mut PartialMatch , pub nextLeftChild : * mut PartialMatch , pub prevLeftChild : * mut PartialMatch , pub blockList : * mut PartialMatch , pub nextBlocked : * mut PartialMatch , pub prevBlocked : * mut PartialMatch , pub binds : [ GenericMatch ; 1usize ] , } # [ test ] fn bindgen_test_layout_partialMatch ( ) { assert_eq ! ( :: std :: mem :: size_of :: < partialMatch > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( partialMatch ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < partialMatch > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( partialMatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . bcount as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( bcount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . hashValue as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( hashValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . owner as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( owner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . marker as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( marker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . dependents as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( dependents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . nextInMemory as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( nextInMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . prevInMemory as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( prevInMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . children as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( children ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . rightParent as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( rightParent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . nextRightChild as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( nextRightChild ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . prevRightChild as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( prevRightChild ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . leftParent as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( leftParent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . nextLeftChild as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( nextLeftChild ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . prevLeftChild as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( prevLeftChild ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . blockList as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( blockList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . nextBlocked as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( nextBlocked ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . prevBlocked as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( prevBlocked ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < partialMatch > ( ) ) ) . binds as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( partialMatch ) , "::" , stringify ! ( binds ) ) ) ; } impl Default for partialMatch { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for partialMatch { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "partialMatch {{ betaMemory : {:?}, busy : {:?}, rhsMemory : {:?}, deleting : {:?}, bcount: {:?}, hashValue: {:?}, owner: {:?}, marker: {:?}, dependents: {:?}, nextInMemory: {:?}, prevInMemory: {:?}, children: {:?}, rightParent: {:?}, nextRightChild: {:?}, prevRightChild: {:?}, leftParent: {:?}, nextLeftChild: {:?}, prevLeftChild: {:?}, blockList: {:?}, nextBlocked: {:?}, prevBlocked: {:?}, binds: {:?} }}" , self . betaMemory ( ) , self . busy ( ) , self . rhsMemory ( ) , self . deleting ( ) , self . bcount , self . hashValue , self . owner , self . marker , self . dependents , self . nextInMemory , self . prevInMemory , self . children , self . rightParent , self . nextRightChild , self . prevRightChild , self . leftParent , self . nextLeftChild , self . prevLeftChild , self . blockList , self . nextBlocked , self . prevBlocked , self . binds ) } } impl partialMatch { # [ inline ] pub fn betaMemory ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_betaMemory ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn busy ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_busy ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn rhsMemory ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_rhsMemory ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn deleting ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_deleting ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( betaMemory : :: std :: os :: raw :: c_uint , busy : :: std :: os :: raw :: c_uint , rhsMemory : :: std :: os :: raw :: c_uint , deleting : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let betaMemory : u32 = unsafe { :: std :: mem :: transmute ( betaMemory ) } ; betaMemory as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let busy : u32 = unsafe { :: std :: mem :: transmute ( busy ) } ; busy as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let rhsMemory : u32 = unsafe { :: std :: mem :: transmute ( rhsMemory ) } ; rhsMemory as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let deleting : u32 = unsafe { :: std :: mem :: transmute ( deleting ) } ; deleting as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct alphaMatch { pub matchingItem : * mut PatternEntity , pub markers : * mut MultifieldMarker , pub next : * mut AlphaMatch , pub bucket : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_alphaMatch ( ) { assert_eq ! ( :: std :: mem :: size_of :: < alphaMatch > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( alphaMatch ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < alphaMatch > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( alphaMatch ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMatch > ( ) ) ) . matchingItem as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( alphaMatch ) , "::" , stringify ! ( matchingItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMatch > ( ) ) ) . markers as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( alphaMatch ) , "::" , stringify ! ( markers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMatch > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( alphaMatch ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMatch > ( ) ) ) . bucket as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( alphaMatch ) , "::" , stringify ! ( bucket ) ) ) ; } impl Default for alphaMatch { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct multifieldMarker { pub whichField : :: std :: os :: raw :: c_ushort , pub where_ : multifieldMarker__bindgen_ty_1 , pub startPosition : size_t , pub range : size_t , pub next : * mut MultifieldMarker , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union multifieldMarker__bindgen_ty_1 { pub whichSlot : * mut :: std :: os :: raw :: c_void , pub whichSlotNumber : :: std :: os :: raw :: c_ushort , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_multifieldMarker__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < multifieldMarker__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( multifieldMarker__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < multifieldMarker__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( multifieldMarker__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldMarker__bindgen_ty_1 > ( ) ) ) . whichSlot as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( multifieldMarker__bindgen_ty_1 ) , "::" , stringify ! ( whichSlot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldMarker__bindgen_ty_1 > ( ) ) ) . whichSlotNumber as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( multifieldMarker__bindgen_ty_1 ) , "::" , stringify ! ( whichSlotNumber ) ) ) ; } impl Default for multifieldMarker__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for multifieldMarker__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "multifieldMarker__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_multifieldMarker ( ) { assert_eq ! ( :: std :: mem :: size_of :: < multifieldMarker > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( multifieldMarker ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < multifieldMarker > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( multifieldMarker ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldMarker > ( ) ) ) . whichField as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( multifieldMarker ) , "::" , stringify ! ( whichField ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldMarker > ( ) ) ) . where_ as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( multifieldMarker ) , "::" , stringify ! ( where_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldMarker > ( ) ) ) . startPosition as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( multifieldMarker ) , "::" , stringify ! ( startPosition ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldMarker > ( ) ) ) . range as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( multifieldMarker ) , "::" , stringify ! ( range ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldMarker > ( ) ) ) . next as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( multifieldMarker ) , "::" , stringify ! ( next ) ) ) ; } impl Default for multifieldMarker { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for multifieldMarker { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "multifieldMarker {{ whichField: {:?}, where: {:?}, startPosition: {:?}, range: {:?}, next: {:?} }}" , self . whichField , self . where_ , self . startPosition , self . range , self . next ) } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct patternNodeHashEntry { pub parent : * mut :: std :: os :: raw :: c_void , pub child : * mut :: std :: os :: raw :: c_void , pub type_ : :: std :: os :: raw :: c_int , pub value : * mut :: std :: os :: raw :: c_void , pub next : * mut patternNodeHashEntry , } # [ test ] fn bindgen_test_layout_patternNodeHashEntry ( ) { assert_eq ! ( :: std :: mem :: size_of :: < patternNodeHashEntry > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( patternNodeHashEntry ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < patternNodeHashEntry > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( patternNodeHashEntry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHashEntry > ( ) ) ) . parent as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHashEntry ) , "::" , stringify ! ( parent ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHashEntry > ( ) ) ) . child as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHashEntry ) , "::" , stringify ! ( child ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHashEntry > ( ) ) ) . type_ as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHashEntry ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHashEntry > ( ) ) ) . value as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHashEntry ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < patternNodeHashEntry > ( ) ) ) . next as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( patternNodeHashEntry ) , "::" , stringify ! ( next ) ) ) ; } impl Default for patternNodeHashEntry { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct alphaMemoryHash { pub bucket : :: std :: os :: raw :: c_ulong , pub owner : * mut patternNodeHeader , pub alphaMemory : * mut PartialMatch , pub endOfQueue : * mut PartialMatch , pub nextHash : * mut alphaMemoryHash , pub prevHash : * mut alphaMemoryHash , pub next : * mut alphaMemoryHash , pub prev : * mut alphaMemoryHash , } # [ test ] fn bindgen_test_layout_alphaMemoryHash ( ) { assert_eq ! ( :: std :: mem :: size_of :: < alphaMemoryHash > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( alphaMemoryHash ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < alphaMemoryHash > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( alphaMemoryHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMemoryHash > ( ) ) ) . bucket as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( alphaMemoryHash ) , "::" , stringify ! ( bucket ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMemoryHash > ( ) ) ) . owner as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( alphaMemoryHash ) , "::" , stringify ! ( owner ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMemoryHash > ( ) ) ) . alphaMemory as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( alphaMemoryHash ) , "::" , stringify ! ( alphaMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMemoryHash > ( ) ) ) . endOfQueue as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( alphaMemoryHash ) , "::" , stringify ! ( endOfQueue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMemoryHash > ( ) ) ) . nextHash as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( alphaMemoryHash ) , "::" , stringify ! ( nextHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMemoryHash > ( ) ) ) . prevHash as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( alphaMemoryHash ) , "::" , stringify ! ( prevHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMemoryHash > ( ) ) ) . next as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( alphaMemoryHash ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < alphaMemoryHash > ( ) ) ) . prev as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( alphaMemoryHash ) , "::" , stringify ! ( prev ) ) ) ; } impl Default for alphaMemoryHash { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type ALPHA_MEMORY_HASH = alphaMemoryHash ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct betaMemory { pub size : :: std :: os :: raw :: c_ulong , pub count : :: std :: os :: raw :: c_ulong , pub beta : * mut * mut partialMatch , pub last : * mut * mut partialMatch , } # [ test ] fn bindgen_test_layout_betaMemory ( ) { assert_eq ! ( :: std :: mem :: size_of :: < betaMemory > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( betaMemory ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < betaMemory > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( betaMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < betaMemory > ( ) ) ) . size as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( betaMemory ) , "::" , stringify ! ( size ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < betaMemory > ( ) ) ) . count as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( betaMemory ) , "::" , stringify ! ( count ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < betaMemory > ( ) ) ) . beta as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( betaMemory ) , "::" , stringify ! ( beta ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < betaMemory > ( ) ) ) . last as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( betaMemory ) , "::" , stringify ! ( last ) ) ) ; } impl Default for betaMemory { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct joinLink { pub enterDirection : :: std :: os :: raw :: c_char , pub join : * mut joinNode , pub next : * mut joinLink , pub bsaveID : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_joinLink ( ) { assert_eq ! ( :: std :: mem :: size_of :: < joinLink > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( joinLink ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < joinLink > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( joinLink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinLink > ( ) ) ) . enterDirection as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( joinLink ) , "::" , stringify ! ( enterDirection ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinLink > ( ) ) ) . join as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( joinLink ) , "::" , stringify ! ( join ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinLink > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( joinLink ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinLink > ( ) ) ) . bsaveID as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( joinLink ) , "::" , stringify ! ( bsaveID ) ) ) ; } impl Default for joinLink { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct joinNode { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > , pub bsaveID : :: std :: os :: raw :: c_ulong , pub memoryLeftAdds : :: std :: os :: raw :: c_longlong , pub memoryRightAdds : :: std :: os :: raw :: c_longlong , pub memoryLeftDeletes : :: std :: os :: raw :: c_longlong , pub memoryRightDeletes : :: std :: os :: raw :: c_longlong , pub memoryCompares : :: std :: os :: raw :: c_longlong , pub leftMemory : * mut betaMemory , pub rightMemory : * mut betaMemory , pub networkTest : * mut Expression , pub secondaryNetworkTest : * mut Expression , pub leftHash : * mut Expression , pub rightHash : * mut Expression , pub rightSideEntryStructure : * mut :: std :: os :: raw :: c_void , pub nextLinks : * mut joinLink , pub lastLevel : * mut joinNode , pub rightMatchNode : * mut joinNode , pub ruleToActivate : * mut Defrule , } # [ test ] fn bindgen_test_layout_joinNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < joinNode > ( ) , 144usize , concat ! ( "Size of: " , stringify ! ( joinNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < joinNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( joinNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . bsaveID as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( bsaveID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . memoryLeftAdds as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( memoryLeftAdds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . memoryRightAdds as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( memoryRightAdds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . memoryLeftDeletes as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( memoryLeftDeletes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . memoryRightDeletes as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( memoryRightDeletes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . memoryCompares as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( memoryCompares ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . leftMemory as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( leftMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . rightMemory as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( rightMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . networkTest as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( networkTest ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . secondaryNetworkTest as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( secondaryNetworkTest ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . leftHash as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( leftHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . rightHash as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( rightHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . rightSideEntryStructure as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( rightSideEntryStructure ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . nextLinks as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( nextLinks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . lastLevel as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( lastLevel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . rightMatchNode as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( rightMatchNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinNode > ( ) ) ) . ruleToActivate as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( joinNode ) , "::" , stringify ! ( ruleToActivate ) ) ) ; } impl Default for joinNode { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl joinNode { # [ inline ] pub fn firstJoin ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_firstJoin ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn logicalJoin ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_logicalJoin ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn joinFromTheRight ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_joinFromTheRight ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn patternIsNegated ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_patternIsNegated ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn patternIsExists ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_patternIsExists ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn initialize ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_initialize ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn marked ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 6usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_marked ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 6usize , 1u8 , val as u64 ) } } # [ inline ] pub fn rhsType ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 7usize , 3u8 ) as u32 ) } } # [ inline ] pub fn set_rhsType ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 7usize , 3u8 , val as u64 ) } } # [ inline ] pub fn depth ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 10usize , 16u8 ) as u32 ) } } # [ inline ] pub fn set_depth ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 10usize , 16u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( firstJoin : :: std :: os :: raw :: c_uint , logicalJoin : :: std :: os :: raw :: c_uint , joinFromTheRight : :: std :: os :: raw :: c_uint , patternIsNegated : :: std :: os :: raw :: c_uint , patternIsExists : :: std :: os :: raw :: c_uint , initialize : :: std :: os :: raw :: c_uint , marked : :: std :: os :: raw :: c_uint , rhsType : :: std :: os :: raw :: c_uint , depth : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 4usize ] , u16 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let firstJoin : u32 = unsafe { :: std :: mem :: transmute ( firstJoin ) } ; firstJoin as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let logicalJoin : u32 = unsafe { :: std :: mem :: transmute ( logicalJoin ) } ; logicalJoin as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let joinFromTheRight : u32 = unsafe { :: std :: mem :: transmute ( joinFromTheRight ) } ; joinFromTheRight as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let patternIsNegated : u32 = unsafe { :: std :: mem :: transmute ( patternIsNegated ) } ; patternIsNegated as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let patternIsExists : u32 = unsafe { :: std :: mem :: transmute ( patternIsExists ) } ; patternIsExists as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let initialize : u32 = unsafe { :: std :: mem :: transmute ( initialize ) } ; initialize as u64 } ) ; __bindgen_bitfield_unit . set ( 6usize , 1u8 , { let marked : u32 = unsafe { :: std :: mem :: transmute ( marked ) } ; marked as u64 } ) ; __bindgen_bitfield_unit . set ( 7usize , 3u8 , { let rhsType : u32 = unsafe { :: std :: mem :: transmute ( rhsType ) } ; rhsType as u64 } ) ; __bindgen_bitfield_unit . set ( 10usize , 16u8 , { let depth : u32 = unsafe { :: std :: mem :: transmute ( depth ) } ; depth as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defrule { pub header : ConstructHeader , pub salience : :: std :: os :: raw :: c_int , pub localVarCnt : :: std :: os :: raw :: c_ushort , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 2usize ] , u16 > , pub dynamicSalience : * mut expr , pub actions : * mut expr , pub logicalJoin : * mut joinNode , pub lastJoin : * mut joinNode , pub disjunct : * mut Defrule , } # [ test ] fn bindgen_test_layout_defrule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defrule > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( defrule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defrule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defrule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defrule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defrule ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defrule > ( ) ) ) . salience as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( defrule ) , "::" , stringify ! ( salience ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defrule > ( ) ) ) . localVarCnt as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( defrule ) , "::" , stringify ! ( localVarCnt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defrule > ( ) ) ) . dynamicSalience as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( defrule ) , "::" , stringify ! ( dynamicSalience ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defrule > ( ) ) ) . actions as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( defrule ) , "::" , stringify ! ( actions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defrule > ( ) ) ) . logicalJoin as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( defrule ) , "::" , stringify ! ( logicalJoin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defrule > ( ) ) ) . lastJoin as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( defrule ) , "::" , stringify ! ( lastJoin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defrule > ( ) ) ) . disjunct as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( defrule ) , "::" , stringify ! ( disjunct ) ) ) ; } impl Default for defrule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl defrule { # [ inline ] pub fn complexity ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 11u8 ) as u32 ) } } # [ inline ] pub fn set_complexity ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 11u8 , val as u64 ) } } # [ inline ] pub fn afterBreakpoint ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 11usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_afterBreakpoint ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 11usize , 1u8 , val as u64 ) } } # [ inline ] pub fn watchActivation ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 12usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_watchActivation ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 12usize , 1u8 , val as u64 ) } } # [ inline ] pub fn watchFiring ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 13usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_watchFiring ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 13usize , 1u8 , val as u64 ) } } # [ inline ] pub fn autoFocus ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 14usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_autoFocus ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 14usize , 1u8 , val as u64 ) } } # [ inline ] pub fn executing ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 15usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_executing ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 15usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( complexity : :: std :: os :: raw :: c_uint , afterBreakpoint : :: std :: os :: raw :: c_uint , watchActivation : :: std :: os :: raw :: c_uint , watchFiring : :: std :: os :: raw :: c_uint , autoFocus : :: std :: os :: raw :: c_uint , executing : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 2usize ] , u16 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 2usize ] , u16 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 11u8 , { let complexity : u32 = unsafe { :: std :: mem :: transmute ( complexity ) } ; complexity as u64 } ) ; __bindgen_bitfield_unit . set ( 11usize , 1u8 , { let afterBreakpoint : u32 = unsafe { :: std :: mem :: transmute ( afterBreakpoint ) } ; afterBreakpoint as u64 } ) ; __bindgen_bitfield_unit . set ( 12usize , 1u8 , { let watchActivation : u32 = unsafe { :: std :: mem :: transmute ( watchActivation ) } ; watchActivation as u64 } ) ; __bindgen_bitfield_unit . set ( 13usize , 1u8 , { let watchFiring : u32 = unsafe { :: std :: mem :: transmute ( watchFiring ) } ; watchFiring as u64 } ) ; __bindgen_bitfield_unit . set ( 14usize , 1u8 , { let autoFocus : u32 = unsafe { :: std :: mem :: transmute ( autoFocus ) } ; autoFocus as u64 } ) ; __bindgen_bitfield_unit . set ( 15usize , 1u8 , { let executing : u32 = unsafe { :: std :: mem :: transmute ( executing ) } ; executing as u64 } ) ; __bindgen_bitfield_unit } } pub type Activation = activation ; pub const SalienceEvaluationType_WHEN_DEFINED : SalienceEvaluationType = 0 ; pub const SalienceEvaluationType_WHEN_ACTIVATED : SalienceEvaluationType = 1 ; pub const SalienceEvaluationType_EVERY_CYCLE : SalienceEvaluationType = 2 ; pub type SalienceEvaluationType = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct activation { pub theRule : * mut Defrule , pub basis : * mut partialMatch , pub salience : :: std :: os :: raw :: c_int , pub timetag : :: std :: os :: raw :: c_ulonglong , pub randomID : :: std :: os :: raw :: c_int , pub prev : * mut activation , pub next : * mut activation , } # [ test ] fn bindgen_test_layout_activation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < activation > ( ) , 56usize , concat ! ( "Size of: " , stringify ! ( activation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < activation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( activation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < activation > ( ) ) ) . theRule as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( activation ) , "::" , stringify ! ( theRule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < activation > ( ) ) ) . basis as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( activation ) , "::" , stringify ! ( basis ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < activation > ( ) ) ) . salience as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( activation ) , "::" , stringify ! ( salience ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < activation > ( ) ) ) . timetag as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( activation ) , "::" , stringify ! ( timetag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < activation > ( ) ) ) . randomID as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( activation ) , "::" , stringify ! ( randomID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < activation > ( ) ) ) . prev as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( activation ) , "::" , stringify ! ( prev ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < activation > ( ) ) ) . next as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( activation ) , "::" , stringify ! ( next ) ) ) ; } impl Default for activation { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct salienceGroup { pub salience : :: std :: os :: raw :: c_int , pub first : * mut activation , pub last : * mut activation , pub next : * mut salienceGroup , pub prev : * mut salienceGroup , } # [ test ] fn bindgen_test_layout_salienceGroup ( ) { assert_eq ! ( :: std :: mem :: size_of :: < salienceGroup > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( salienceGroup ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < salienceGroup > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( salienceGroup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < salienceGroup > ( ) ) ) . salience as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( salienceGroup ) , "::" , stringify ! ( salience ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < salienceGroup > ( ) ) ) . first as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( salienceGroup ) , "::" , stringify ! ( first ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < salienceGroup > ( ) ) ) . last as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( salienceGroup ) , "::" , stringify ! ( last ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < salienceGroup > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( salienceGroup ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < salienceGroup > ( ) ) ) . prev as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( salienceGroup ) , "::" , stringify ! ( prev ) ) ) ; } impl Default for salienceGroup { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub const StrategyType_DEPTH_STRATEGY : StrategyType = 0 ; pub const StrategyType_BREADTH_STRATEGY : StrategyType = 1 ; pub const StrategyType_LEX_STRATEGY : StrategyType = 2 ; pub const StrategyType_MEA_STRATEGY : StrategyType = 3 ; pub const StrategyType_COMPLEXITY_STRATEGY : StrategyType = 4 ; pub const StrategyType_SIMPLICITY_STRATEGY : StrategyType = 5 ; pub const StrategyType_RANDOM_STRATEGY : StrategyType = 6 ; pub type StrategyType = u32 ; extern "C" { pub fn PlaceActivation ( arg1 : * mut Environment , arg2 : * mut * mut Activation , arg3 : * mut Activation , arg4 : * mut salienceGroup ) ; } extern "C" { pub fn SetStrategy ( arg1 : * mut Environment , arg2 : StrategyType ) -> StrategyType ; } extern "C" { pub fn GetStrategy ( arg1 : * mut Environment ) -> StrategyType ; } extern "C" { pub fn SetStrategyCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetStrategyCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct agendaData { pub WatchActivations : bool , pub NumberOfActivations : :: std :: os :: raw :: c_ulong , pub CurrentTimetag : :: std :: os :: raw :: c_ulonglong , pub AgendaChanged : bool , pub SalienceEvaluation : SalienceEvaluationType , pub Strategy : StrategyType , } # [ test ] fn bindgen_test_layout_agendaData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < agendaData > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( agendaData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < agendaData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( agendaData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < agendaData > ( ) ) ) . WatchActivations as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( agendaData ) , "::" , stringify ! ( WatchActivations ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < agendaData > ( ) ) ) . NumberOfActivations as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( agendaData ) , "::" , stringify ! ( NumberOfActivations ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < agendaData > ( ) ) ) . CurrentTimetag as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( agendaData ) , "::" , stringify ! ( CurrentTimetag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < agendaData > ( ) ) ) . AgendaChanged as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( agendaData ) , "::" , stringify ! ( AgendaChanged ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < agendaData > ( ) ) ) . SalienceEvaluation as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( agendaData ) , "::" , stringify ! ( SalienceEvaluation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < agendaData > ( ) ) ) . Strategy as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( agendaData ) , "::" , stringify ! ( Strategy ) ) ) ; } impl Default for agendaData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn AddActivation ( arg1 : * mut Environment , arg2 : * mut Defrule , arg3 : * mut PartialMatch ) ; } extern "C" { pub fn ClearRuleFromAgenda ( arg1 : * mut Environment , arg2 : * mut Defrule ) ; } extern "C" { pub fn GetNextActivation ( arg1 : * mut Environment , arg2 : * mut Activation ) -> * mut Activation ; } extern "C" { pub fn GetActivationBasis ( arg1 : * mut Environment , arg2 : * mut Activation ) -> * mut partialMatch ; } extern "C" { pub fn ActivationRuleName ( arg1 : * mut Activation ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetActivationRule ( arg1 : * mut Environment , arg2 : * mut Activation ) -> * mut Defrule ; } extern "C" { pub fn ActivationGetSalience ( arg1 : * mut Activation ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ActivationSetSalience ( arg1 : * mut Activation , arg2 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ActivationPPForm ( arg1 : * mut Activation , arg2 : * mut StringBuilder ) ; } extern "C" { pub fn GetActivationBasisPPForm ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_char , arg3 : size_t , arg4 : * mut Activation ) ; } extern "C" { pub fn MoveActivationToTop ( arg1 : * mut Environment , arg2 : * mut Activation ) -> bool ; } extern "C" { pub fn DeleteActivation ( arg1 : * mut Activation ) ; } extern "C" { pub fn DetachActivation ( arg1 : * mut Environment , arg2 : * mut Activation ) -> bool ; } extern "C" { pub fn DeleteAllActivations ( arg1 : * mut Defmodule ) ; } extern "C" { pub fn Agenda ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } extern "C" { pub fn RemoveActivation ( arg1 : * mut Environment , arg2 : * mut Activation , arg3 : bool , arg4 : bool ) ; } extern "C" { pub fn RemoveAllActivations ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetAgendaChanged ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetAgendaChanged ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn GetNumberOfActivations ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn GetSalienceEvaluation ( arg1 : * mut Environment ) -> SalienceEvaluationType ; } extern "C" { pub fn SetSalienceEvaluation ( arg1 : * mut Environment , arg2 : SalienceEvaluationType ) -> SalienceEvaluationType ; } extern "C" { pub fn RefreshAgenda ( arg1 : * mut Defmodule ) ; } extern "C" { pub fn RefreshAllAgendas ( arg1 : * mut Environment ) ; } extern "C" { pub fn ReorderAgenda ( arg1 : * mut Defmodule ) ; } extern "C" { pub fn ReorderAllAgendas ( arg1 : * mut Environment ) ; } extern "C" { pub fn InitializeAgenda ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetSalienceEvaluationCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetSalienceEvaluationCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RefreshAgendaCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RefreshCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Refresh ( arg1 : * mut Defrule ) ; } extern "C" { pub fn AgendaCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PrintSymbolReference ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut CLIPSLexeme ) ; } extern "C" { pub fn PrintFloatReference ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut CLIPSFloat ) ; } extern "C" { pub fn PrintIntegerReference ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut CLIPSInteger ) ; } extern "C" { pub fn PrintBitMapReference ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut CLIPSBitMap ) ; } extern "C" { pub fn AtomicValuesToCode ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut :: std :: os :: raw :: c_char ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct CodeGeneratorItem { pub name : * const :: std :: os :: raw :: c_char , pub beforeFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , pub initFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : :: std :: os :: raw :: c_uint , arg4 : :: std :: os :: raw :: c_uint ) > , pub generateFunction : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_uint , arg6 : * mut FILE , arg7 : :: std :: os :: raw :: c_uint , arg8 : :: std :: os :: raw :: c_uint ) -> bool > , pub priority : :: std :: os :: raw :: c_int , pub arrayNames : * mut * mut :: std :: os :: raw :: c_char , pub arrayCount : :: std :: os :: raw :: c_uint , pub next : * mut CodeGeneratorItem , } # [ test ] fn bindgen_test_layout_CodeGeneratorItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < CodeGeneratorItem > ( ) , 64usize , concat ! ( "Size of: " , stringify ! ( CodeGeneratorItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < CodeGeneratorItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( CodeGeneratorItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorItem > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorItem ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorItem > ( ) ) ) . beforeFunction as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorItem ) , "::" , stringify ! ( beforeFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorItem > ( ) ) ) . initFunction as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorItem ) , "::" , stringify ! ( initFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorItem > ( ) ) ) . generateFunction as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorItem ) , "::" , stringify ! ( generateFunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorItem > ( ) ) ) . priority as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorItem ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorItem > ( ) ) ) . arrayNames as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorItem ) , "::" , stringify ! ( arrayNames ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorItem > ( ) ) ) . arrayCount as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorItem ) , "::" , stringify ! ( arrayCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorItem > ( ) ) ) . next as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorItem ) , "::" , stringify ! ( next ) ) ) ; } impl Default for CodeGeneratorItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct constructCompilerData { pub ImageID : :: std :: os :: raw :: c_uint , pub HeaderFP : * mut FILE , pub MaxIndices : :: std :: os :: raw :: c_uint , pub ExpressionFP : * mut FILE , pub FixupFP : * mut FILE , pub FilePrefix : * const :: std :: os :: raw :: c_char , pub PathName : * const :: std :: os :: raw :: c_char , pub FileNameBuffer : * mut :: std :: os :: raw :: c_char , pub ExpressionHeader : bool , pub ExpressionCount : :: std :: os :: raw :: c_ulong , pub ExpressionVersion : :: std :: os :: raw :: c_uint , pub CodeGeneratorCount : :: std :: os :: raw :: c_uint , pub ListOfCodeGeneratorItems : * mut CodeGeneratorItem , } # [ test ] fn bindgen_test_layout_constructCompilerData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < constructCompilerData > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( constructCompilerData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < constructCompilerData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( constructCompilerData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . ImageID as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( ImageID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . HeaderFP as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( HeaderFP ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . MaxIndices as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( MaxIndices ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . ExpressionFP as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( ExpressionFP ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . FixupFP as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( FixupFP ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . FilePrefix as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( FilePrefix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . PathName as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( PathName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . FileNameBuffer as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( FileNameBuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . ExpressionHeader as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( ExpressionHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . ExpressionCount as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( ExpressionCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . ExpressionVersion as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( ExpressionVersion ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . CodeGeneratorCount as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( CodeGeneratorCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constructCompilerData > ( ) ) ) . ListOfCodeGeneratorItems as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( constructCompilerData ) , "::" , stringify ! ( ListOfCodeGeneratorItems ) ) ) ; } impl Default for constructCompilerData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct CodeGeneratorFile { pub filePrefix : * const :: std :: os :: raw :: c_char , pub pathName : * const :: std :: os :: raw :: c_char , pub fileNameBuffer : * mut :: std :: os :: raw :: c_char , pub id : :: std :: os :: raw :: c_uint , pub version : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_CodeGeneratorFile ( ) { assert_eq ! ( :: std :: mem :: size_of :: < CodeGeneratorFile > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( CodeGeneratorFile ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < CodeGeneratorFile > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( CodeGeneratorFile ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorFile > ( ) ) ) . filePrefix as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorFile ) , "::" , stringify ! ( filePrefix ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorFile > ( ) ) ) . pathName as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorFile ) , "::" , stringify ! ( pathName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorFile > ( ) ) ) . fileNameBuffer as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorFile ) , "::" , stringify ! ( fileNameBuffer ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorFile > ( ) ) ) . id as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorFile ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < CodeGeneratorFile > ( ) ) ) . version as * const _ as usize } , 28usize , concat ! ( "Offset of field: " , stringify ! ( CodeGeneratorFile ) , "::" , stringify ! ( version ) ) ) ; } impl Default for CodeGeneratorFile { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeConstructCompilerData ( arg1 : * mut Environment ) ; } extern "C" { pub fn ConstructsToCCommandDefinition ( arg1 : * mut Environment ) ; } extern "C" { pub fn NewCFile ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_uint , arg6 : :: std :: os :: raw :: c_uint , arg7 : bool ) -> * mut FILE ; } extern "C" { pub fn ExpressionToCode ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut expr ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PrintFunctionReference ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut functionDefinition ) ; } extern "C" { pub fn AddCodeGeneratorItem ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment ) > , arg5 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : :: std :: os :: raw :: c_uint , arg4 : :: std :: os :: raw :: c_uint ) > , arg6 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut :: std :: os :: raw :: c_char , arg5 : :: std :: os :: raw :: c_uint , arg6 : * mut FILE , arg7 : :: std :: os :: raw :: c_uint , arg8 : :: std :: os :: raw :: c_uint ) -> bool > , arg7 : :: std :: os :: raw :: c_uint ) -> * mut CodeGeneratorItem ; } extern "C" { pub fn CloseFileIfNeeded ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut :: std :: os :: raw :: c_uint , arg4 : * mut :: std :: os :: raw :: c_uint , arg5 : :: std :: os :: raw :: c_uint , arg6 : * mut bool , arg7 : * mut CodeGeneratorFile ) -> * mut FILE ; } extern "C" { pub fn OpenFileIfNeeded ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * const :: std :: os :: raw :: c_char , arg5 : * mut :: std :: os :: raw :: c_char , arg6 : :: std :: os :: raw :: c_uint , arg7 : :: std :: os :: raw :: c_uint , arg8 : * mut :: std :: os :: raw :: c_uint , arg9 : :: std :: os :: raw :: c_uint , arg10 : * mut FILE , arg11 : * const :: std :: os :: raw :: c_char , arg12 : * mut :: std :: os :: raw :: c_char , arg13 : bool , arg14 : * mut CodeGeneratorFile ) -> * mut FILE ; } extern "C" { pub fn MarkConstructBsaveIDs ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn ConstructHeaderToCode ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut ConstructHeader , arg4 : :: std :: os :: raw :: c_uint , arg5 : :: std :: os :: raw :: c_uint , arg6 : :: std :: os :: raw :: c_uint , arg7 : * const :: std :: os :: raw :: c_char , arg8 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn ConstructModuleToCode ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut Defmodule , arg4 : :: std :: os :: raw :: c_uint , arg5 : :: std :: os :: raw :: c_uint , arg6 : :: std :: os :: raw :: c_uint , arg7 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn PrintHashedExpressionReference ( arg1 : * mut Environment , arg2 : * mut FILE , arg3 : * mut expr , arg4 : :: std :: os :: raw :: c_uint , arg5 : :: std :: os :: raw :: c_uint ) ; } pub type CONSTRAINT_RECORD = constraintRecord ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct constraintRecord { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > , pub bsaveID : :: std :: os :: raw :: c_ulong , pub classList : * mut expr , pub restrictionList : * mut expr , pub minValue : * mut expr , pub maxValue : * mut expr , pub minFields : * mut expr , pub maxFields : * mut expr , pub multifield : * mut constraintRecord , pub next : * mut constraintRecord , pub bucket : :: std :: os :: raw :: c_uint , pub count : :: std :: os :: raw :: c_uint , } # [ test ] fn bindgen_test_layout_constraintRecord ( ) { assert_eq ! ( :: std :: mem :: size_of :: < constraintRecord > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( constraintRecord ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < constraintRecord > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( constraintRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . bsaveID as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( bsaveID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . classList as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( classList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . restrictionList as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( restrictionList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . minValue as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( minValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . maxValue as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( maxValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . minFields as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( minFields ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . maxFields as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( maxFields ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . multifield as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( multifield ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . next as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . bucket as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( bucket ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintRecord > ( ) ) ) . count as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( constraintRecord ) , "::" , stringify ! ( count ) ) ) ; } impl Default for constraintRecord { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl constraintRecord { # [ inline ] pub fn anyAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_anyAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn symbolsAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_symbolsAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn stringsAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_stringsAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn floatsAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_floatsAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn integersAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_integersAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn instanceNamesAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_instanceNamesAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn instanceAddressesAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 6usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_instanceAddressesAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 6usize , 1u8 , val as u64 ) } } # [ inline ] pub fn externalAddressesAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 7usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_externalAddressesAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 7usize , 1u8 , val as u64 ) } } # [ inline ] pub fn factAddressesAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 8usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_factAddressesAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 8usize , 1u8 , val as u64 ) } } # [ inline ] pub fn voidAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 9usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_voidAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 9usize , 1u8 , val as u64 ) } } # [ inline ] pub fn anyRestriction ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 10usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_anyRestriction ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 10usize , 1u8 , val as u64 ) } } # [ inline ] pub fn symbolRestriction ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 11usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_symbolRestriction ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 11usize , 1u8 , val as u64 ) } } # [ inline ] pub fn stringRestriction ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 12usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_stringRestriction ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 12usize , 1u8 , val as u64 ) } } # [ inline ] pub fn floatRestriction ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 13usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_floatRestriction ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 13usize , 1u8 , val as u64 ) } } # [ inline ] pub fn integerRestriction ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 14usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_integerRestriction ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 14usize , 1u8 , val as u64 ) } } # [ inline ] pub fn classRestriction ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 15usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_classRestriction ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 15usize , 1u8 , val as u64 ) } } # [ inline ] pub fn instanceNameRestriction ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 16usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_instanceNameRestriction ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 16usize , 1u8 , val as u64 ) } } # [ inline ] pub fn multifieldsAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 17usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_multifieldsAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 17usize , 1u8 , val as u64 ) } } # [ inline ] pub fn singlefieldsAllowed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 18usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_singlefieldsAllowed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 18usize , 1u8 , val as u64 ) } } # [ inline ] pub fn installed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 19usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_installed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 19usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( anyAllowed : :: std :: os :: raw :: c_uint , symbolsAllowed : :: std :: os :: raw :: c_uint , stringsAllowed : :: std :: os :: raw :: c_uint , floatsAllowed : :: std :: os :: raw :: c_uint , integersAllowed : :: std :: os :: raw :: c_uint , instanceNamesAllowed : :: std :: os :: raw :: c_uint , instanceAddressesAllowed : :: std :: os :: raw :: c_uint , externalAddressesAllowed : :: std :: os :: raw :: c_uint , factAddressesAllowed : :: std :: os :: raw :: c_uint , voidAllowed : :: std :: os :: raw :: c_uint , anyRestriction : :: std :: os :: raw :: c_uint , symbolRestriction : :: std :: os :: raw :: c_uint , stringRestriction : :: std :: os :: raw :: c_uint , floatRestriction : :: std :: os :: raw :: c_uint , integerRestriction : :: std :: os :: raw :: c_uint , classRestriction : :: std :: os :: raw :: c_uint , instanceNameRestriction : :: std :: os :: raw :: c_uint , multifieldsAllowed : :: std :: os :: raw :: c_uint , singlefieldsAllowed : :: std :: os :: raw :: c_uint , installed : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 3usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let anyAllowed : u32 = unsafe { :: std :: mem :: transmute ( anyAllowed ) } ; anyAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let symbolsAllowed : u32 = unsafe { :: std :: mem :: transmute ( symbolsAllowed ) } ; symbolsAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let stringsAllowed : u32 = unsafe { :: std :: mem :: transmute ( stringsAllowed ) } ; stringsAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let floatsAllowed : u32 = unsafe { :: std :: mem :: transmute ( floatsAllowed ) } ; floatsAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let integersAllowed : u32 = unsafe { :: std :: mem :: transmute ( integersAllowed ) } ; integersAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let instanceNamesAllowed : u32 = unsafe { :: std :: mem :: transmute ( instanceNamesAllowed ) } ; instanceNamesAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 6usize , 1u8 , { let instanceAddressesAllowed : u32 = unsafe { :: std :: mem :: transmute ( instanceAddressesAllowed ) } ; instanceAddressesAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 7usize , 1u8 , { let externalAddressesAllowed : u32 = unsafe { :: std :: mem :: transmute ( externalAddressesAllowed ) } ; externalAddressesAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 8usize , 1u8 , { let factAddressesAllowed : u32 = unsafe { :: std :: mem :: transmute ( factAddressesAllowed ) } ; factAddressesAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 9usize , 1u8 , { let voidAllowed : u32 = unsafe { :: std :: mem :: transmute ( voidAllowed ) } ; voidAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 10usize , 1u8 , { let anyRestriction : u32 = unsafe { :: std :: mem :: transmute ( anyRestriction ) } ; anyRestriction as u64 } ) ; __bindgen_bitfield_unit . set ( 11usize , 1u8 , { let symbolRestriction : u32 = unsafe { :: std :: mem :: transmute ( symbolRestriction ) } ; symbolRestriction as u64 } ) ; __bindgen_bitfield_unit . set ( 12usize , 1u8 , { let stringRestriction : u32 = unsafe { :: std :: mem :: transmute ( stringRestriction ) } ; stringRestriction as u64 } ) ; __bindgen_bitfield_unit . set ( 13usize , 1u8 , { let floatRestriction : u32 = unsafe { :: std :: mem :: transmute ( floatRestriction ) } ; floatRestriction as u64 } ) ; __bindgen_bitfield_unit . set ( 14usize , 1u8 , { let integerRestriction : u32 = unsafe { :: std :: mem :: transmute ( integerRestriction ) } ; integerRestriction as u64 } ) ; __bindgen_bitfield_unit . set ( 15usize , 1u8 , { let classRestriction : u32 = unsafe { :: std :: mem :: transmute ( classRestriction ) } ; classRestriction as u64 } ) ; __bindgen_bitfield_unit . set ( 16usize , 1u8 , { let instanceNameRestriction : u32 = unsafe { :: std :: mem :: transmute ( instanceNameRestriction ) } ; instanceNameRestriction as u64 } ) ; __bindgen_bitfield_unit . set ( 17usize , 1u8 , { let multifieldsAllowed : u32 = unsafe { :: std :: mem :: transmute ( multifieldsAllowed ) } ; multifieldsAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 18usize , 1u8 , { let singlefieldsAllowed : u32 = unsafe { :: std :: mem :: transmute ( singlefieldsAllowed ) } ; singlefieldsAllowed as u64 } ) ; __bindgen_bitfield_unit . set ( 19usize , 1u8 , { let installed : u32 = unsafe { :: std :: mem :: transmute ( installed ) } ; installed as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct constraintData { pub ConstraintHashtable : * mut * mut constraintRecord , pub DynamicConstraintChecking : bool , pub ConstraintArray : * mut constraintRecord , pub NumberOfConstraints : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_constraintData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < constraintData > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( constraintData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < constraintData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( constraintData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintData > ( ) ) ) . ConstraintHashtable as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( constraintData ) , "::" , stringify ! ( ConstraintHashtable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintData > ( ) ) ) . DynamicConstraintChecking as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( constraintData ) , "::" , stringify ! ( DynamicConstraintChecking ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintData > ( ) ) ) . ConstraintArray as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( constraintData ) , "::" , stringify ! ( ConstraintArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < constraintData > ( ) ) ) . NumberOfConstraints as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( constraintData ) , "::" , stringify ! ( NumberOfConstraints ) ) ) ; } impl Default for constraintData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeConstraints ( arg1 : * mut Environment ) ; } extern "C" { pub fn GDCCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SDCCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetDynamicConstraintChecking ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn GetDynamicConstraintChecking ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn HashConstraint ( arg1 : * mut constraintRecord ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn AddConstraint ( arg1 : * mut Environment , arg2 : * mut constraintRecord ) -> * mut constraintRecord ; } extern "C" { pub fn RemoveConstraint ( arg1 : * mut Environment , arg2 : * mut constraintRecord ) ; } pub type ConstructGetWatchFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void ) -> bool > ; pub type ConstructSetWatchFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : bool ) > ; pub type ConstructActionFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut ConstructHeader , arg3 : * mut :: std :: os :: raw :: c_void ) > ; extern "C" { pub fn AddConstructToModule ( arg1 : * mut ConstructHeader ) ; } extern "C" { pub fn DeleteNamedConstruct ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Construct ) -> bool ; } extern "C" { pub fn FindNamedConstructInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Construct ) -> * mut ConstructHeader ; } extern "C" { pub fn FindNamedConstructInModuleOrImports ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Construct ) -> * mut ConstructHeader ; } extern "C" { pub fn UndefconstructCommand ( arg1 : * mut UDFContext , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Construct ) ; } extern "C" { pub fn PPConstruct ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut Construct ) -> bool ; } extern "C" { pub fn PPConstructNil ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Construct ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetConstructModuleCommand ( arg1 : * mut UDFContext , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Construct ) -> * mut CLIPSLexeme ; } extern "C" { pub fn GetConstructModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Construct ) -> * mut Defmodule ; } extern "C" { pub fn Undefconstruct ( arg1 : * mut Environment , arg2 : * mut ConstructHeader , arg3 : * mut Construct ) -> bool ; } extern "C" { pub fn UndefconstructAll ( arg1 : * mut Environment , arg2 : * mut Construct ) -> bool ; } extern "C" { pub fn SaveConstruct ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut Construct ) ; } extern "C" { pub fn GetConstructNameString ( arg1 : * mut ConstructHeader ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetConstructModuleName ( arg1 : * mut ConstructHeader ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetConstructNamePointer ( arg1 : * mut ConstructHeader ) -> * mut CLIPSLexeme ; } extern "C" { pub fn GetConstructListFunction ( arg1 : * mut UDFContext , arg2 : * mut UDFValue , arg3 : * mut Construct ) ; } extern "C" { pub fn GetConstructList ( arg1 : * mut Environment , arg2 : * mut UDFValue , arg3 : * mut Construct , arg4 : * mut Defmodule ) ; } extern "C" { pub fn ListConstructCommand ( arg1 : * mut UDFContext , arg2 : * mut Construct ) ; } extern "C" { pub fn ListConstruct ( arg1 : * mut Environment , arg2 : * mut Construct , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut Defmodule ) ; } extern "C" { pub fn SetNextConstruct ( arg1 : * mut ConstructHeader , arg2 : * mut ConstructHeader ) ; } extern "C" { pub fn GetConstructModuleItem ( arg1 : * mut ConstructHeader ) -> * mut defmoduleItemHeader ; } extern "C" { pub fn GetConstructPPForm ( arg1 : * mut ConstructHeader ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn PPConstructCommand ( arg1 : * mut UDFContext , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Construct , arg4 : * mut UDFValue ) ; } extern "C" { pub fn GetNextConstructItem ( arg1 : * mut Environment , arg2 : * mut ConstructHeader , arg3 : :: std :: os :: raw :: c_uint ) -> * mut ConstructHeader ; } extern "C" { pub fn GetConstructModuleItemByIndex ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : :: std :: os :: raw :: c_uint ) -> * mut defmoduleItemHeader ; } extern "C" { pub fn FreeConstructHeaderModule ( arg1 : * mut Environment , arg2 : * mut defmoduleItemHeader , arg3 : * mut Construct ) ; } extern "C" { pub fn DoForAllConstructs ( arg1 : * mut Environment , arg2 : ConstructActionFunction , arg3 : :: std :: os :: raw :: c_uint , arg4 : bool , arg5 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn DoForAllConstructsInModule ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : ConstructActionFunction , arg4 : :: std :: os :: raw :: c_uint , arg5 : bool , arg6 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn InitializeConstructHeader ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : ConstructType , arg4 : * mut ConstructHeader , arg5 : * mut CLIPSLexeme ) ; } extern "C" { pub fn SetConstructPPForm ( arg1 : * mut Environment , arg2 : * mut ConstructHeader , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn LookupConstruct ( arg1 : * mut Environment , arg2 : * mut Construct , arg3 : * const :: std :: os :: raw :: c_char , arg4 : bool ) -> * mut ConstructHeader ; } extern "C" { pub fn ConstructPrintWatchAccess ( arg1 : * mut Environment , arg2 : * mut Construct , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut Expression , arg5 : ConstructGetWatchFunction , arg6 : ConstructSetWatchFunction ) -> bool ; } extern "C" { pub fn ConstructSetWatchAccess ( arg1 : * mut Environment , arg2 : * mut Construct , arg3 : bool , arg4 : * mut Expression , arg5 : ConstructGetWatchFunction , arg6 : ConstructSetWatchFunction ) -> bool ; } extern "C" { pub fn ConstructsDeletable ( arg1 : * mut Environment ) -> bool ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defruleModule { pub header : defmoduleItemHeader , pub groupings : * mut salienceGroup , pub agenda : * mut activation , } # [ test ] fn bindgen_test_layout_defruleModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defruleModule > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( defruleModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defruleModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defruleModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleModule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defruleModule ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleModule > ( ) ) ) . groupings as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( defruleModule ) , "::" , stringify ! ( groupings ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleModule > ( ) ) ) . agenda as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( defruleModule ) , "::" , stringify ! ( agenda ) ) ) ; } impl Default for defruleModule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defruleData { pub DefruleConstruct : * mut Construct , pub DefruleModuleIndex : :: std :: os :: raw :: c_uint , pub CurrentEntityTimeTag : :: std :: os :: raw :: c_ulonglong , pub AlphaMemoryTable : * mut * mut alphaMemoryHash , pub BetaMemoryResizingFlag : bool , pub RightPrimeJoins : * mut joinLink , pub LeftPrimeJoins : * mut joinLink , pub WatchRules : bool , pub DeletedRuleDebugFlags : :: std :: os :: raw :: c_int , pub DefruleCodeItem : * mut CodeGeneratorItem , } # [ test ] fn bindgen_test_layout_defruleData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defruleData > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( defruleData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defruleData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defruleData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . DefruleConstruct as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( DefruleConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . DefruleModuleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( DefruleModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . CurrentEntityTimeTag as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( CurrentEntityTimeTag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . AlphaMemoryTable as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( AlphaMemoryTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . BetaMemoryResizingFlag as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( BetaMemoryResizingFlag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . RightPrimeJoins as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( RightPrimeJoins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . LeftPrimeJoins as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( LeftPrimeJoins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . WatchRules as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( WatchRules ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . DeletedRuleDebugFlags as * const _ as usize } , 60usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( DeletedRuleDebugFlags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defruleData > ( ) ) ) . DefruleCodeItem as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( defruleData ) , "::" , stringify ! ( DefruleCodeItem ) ) ) ; } impl Default for defruleData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeDefrules ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindDefrule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defrule ; } extern "C" { pub fn FindDefruleInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defrule ; } extern "C" { pub fn GetNextDefrule ( arg1 : * mut Environment , arg2 : * mut Defrule ) -> * mut Defrule ; } extern "C" { pub fn GetDefruleModuleItem ( arg1 : * mut Environment , arg2 : * mut Defmodule ) -> * mut defruleModule ; } extern "C" { pub fn DefruleIsDeletable ( arg1 : * mut Defrule ) -> bool ; } extern "C" { pub fn AddBetaMemoriesToJoin ( arg1 : * mut Environment , arg2 : * mut joinNode ) ; } extern "C" { pub fn GetDisjunctCount ( arg1 : * mut Environment , arg2 : * mut Defrule ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn GetNthDisjunct ( arg1 : * mut Environment , arg2 : * mut Defrule , arg3 : :: std :: os :: raw :: c_long ) -> * mut Defrule ; } extern "C" { pub fn DefruleModule ( arg1 : * mut Defrule ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefruleName ( arg1 : * mut Defrule ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefrulePPForm ( arg1 : * mut Defrule ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefruleBasicCommands ( arg1 : * mut Environment ) ; } extern "C" { pub fn UndefruleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Undefrule ( arg1 : * mut Defrule , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn GetDefruleListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefruleList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DefruleModuleFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDefruleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDefrule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn ListDefrulesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefrules ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DefruleGetWatchFirings ( arg1 : * mut Defrule ) -> bool ; } extern "C" { pub fn DefruleGetWatchActivations ( arg1 : * mut Defrule ) -> bool ; } extern "C" { pub fn DefruleSetWatchFirings ( arg1 : * mut Defrule , arg2 : bool ) ; } extern "C" { pub fn DefruleSetWatchActivations ( arg1 : * mut Defrule , arg2 : bool ) ; } extern "C" { pub fn DefruleWatchAccess ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : bool , arg4 : * mut expr ) -> bool ; } extern "C" { pub fn DefruleWatchPrint ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut expr ) -> bool ; } pub type FocalModule = focalModule ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct dependency { pub dPtr : * mut :: std :: os :: raw :: c_void , pub next : * mut dependency , } # [ test ] fn bindgen_test_layout_dependency ( ) { assert_eq ! ( :: std :: mem :: size_of :: < dependency > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( dependency ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < dependency > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( dependency ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dependency > ( ) ) ) . dPtr as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( dependency ) , "::" , stringify ! ( dPtr ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < dependency > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( dependency ) , "::" , stringify ! ( next ) ) ) ; } impl Default for dependency { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn AddLogicalDependencies ( arg1 : * mut Environment , arg2 : * mut PatternEntity , arg3 : bool ) -> bool ; } extern "C" { pub fn RemoveEntityDependencies ( arg1 : * mut Environment , arg2 : * mut PatternEntity ) ; } extern "C" { pub fn RemovePMDependencies ( arg1 : * mut Environment , arg2 : * mut PartialMatch ) ; } extern "C" { pub fn DestroyPMDependencies ( arg1 : * mut Environment , arg2 : * mut PartialMatch ) ; } extern "C" { pub fn RemoveLogicalSupport ( arg1 : * mut Environment , arg2 : * mut PartialMatch ) ; } extern "C" { pub fn ForceLogicalRetractions ( arg1 : * mut Environment ) ; } extern "C" { pub fn Dependencies ( arg1 : * mut Environment , arg2 : * mut PatternEntity ) ; } extern "C" { pub fn Dependents ( arg1 : * mut Environment , arg2 : * mut PatternEntity ) ; } extern "C" { pub fn DependenciesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DependentsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ReturnEntityDependencies ( arg1 : * mut Environment , arg2 : * mut PatternEntity ) ; } extern "C" { pub fn FindLogicalBind ( arg1 : * mut joinNode , arg2 : * mut PartialMatch ) -> * mut PartialMatch ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct rdriveinfo { pub link : * mut partialMatch , pub jlist : * mut joinNode , pub next : * mut rdriveinfo , } # [ test ] fn bindgen_test_layout_rdriveinfo ( ) { assert_eq ! ( :: std :: mem :: size_of :: < rdriveinfo > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( rdriveinfo ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < rdriveinfo > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( rdriveinfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rdriveinfo > ( ) ) ) . link as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( rdriveinfo ) , "::" , stringify ! ( link ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rdriveinfo > ( ) ) ) . jlist as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( rdriveinfo ) , "::" , stringify ! ( jlist ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < rdriveinfo > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( rdriveinfo ) , "::" , stringify ! ( next ) ) ) ; } impl Default for rdriveinfo { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn NetworkRetract ( arg1 : * mut Environment , arg2 : * mut patternMatch ) ; } extern "C" { pub fn ReturnPartialMatch ( arg1 : * mut Environment , arg2 : * mut partialMatch ) ; } extern "C" { pub fn DestroyPartialMatch ( arg1 : * mut Environment , arg2 : * mut partialMatch ) ; } extern "C" { pub fn FlushGarbagePartialMatches ( arg1 : * mut Environment ) ; } extern "C" { pub fn DeletePartialMatches ( arg1 : * mut Environment , arg2 : * mut partialMatch ) ; } extern "C" { pub fn PosEntryRetractBeta ( arg1 : * mut Environment , arg2 : * mut partialMatch , arg3 : * mut partialMatch , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn PosEntryRetractAlpha ( arg1 : * mut Environment , arg2 : * mut partialMatch , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn PartialMatchWillBeDeleted ( arg1 : * mut Environment , arg2 : * mut partialMatch ) -> bool ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct focalModule { pub theModule : * mut Defmodule , pub theDefruleModule : * mut defruleModule , pub next : * mut FocalModule , } # [ test ] fn bindgen_test_layout_focalModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < focalModule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( focalModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < focalModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( focalModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < focalModule > ( ) ) ) . theModule as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( focalModule ) , "::" , stringify ! ( theModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < focalModule > ( ) ) ) . theDefruleModule as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( focalModule ) , "::" , stringify ! ( theDefruleModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < focalModule > ( ) ) ) . next as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( focalModule ) , "::" , stringify ! ( next ) ) ) ; } impl Default for focalModule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type RuleFiredFunctionItem = ruleFiredFunctionItem ; pub type RuleFiredFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut Activation , arg3 : * mut :: std :: os :: raw :: c_void ) > ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct ruleFiredFunctionItem { pub name : * const :: std :: os :: raw :: c_char , pub func : RuleFiredFunction , pub priority : :: std :: os :: raw :: c_int , pub next : * mut RuleFiredFunctionItem , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_ruleFiredFunctionItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < ruleFiredFunctionItem > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( ruleFiredFunctionItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < ruleFiredFunctionItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( ruleFiredFunctionItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ruleFiredFunctionItem > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( ruleFiredFunctionItem ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ruleFiredFunctionItem > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( ruleFiredFunctionItem ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ruleFiredFunctionItem > ( ) ) ) . priority as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( ruleFiredFunctionItem ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ruleFiredFunctionItem > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( ruleFiredFunctionItem ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < ruleFiredFunctionItem > ( ) ) ) . context as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( ruleFiredFunctionItem ) , "::" , stringify ! ( context ) ) ) ; } impl Default for ruleFiredFunctionItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct engineData { pub ExecutingRule : * mut Defrule , pub HaltRules : bool , pub TheLogicalJoin : * mut joinNode , pub TheLogicalBind : * mut partialMatch , pub UnsupportedDataEntities : * mut dependency , pub alreadyEntered : bool , pub ListOfAfterRuleFiresFunctions : * mut RuleFiredFunctionItem , pub ListOfBeforeRuleFiresFunctions : * mut RuleFiredFunctionItem , pub CurrentFocus : * mut FocalModule , pub FocusChanged : bool , pub WatchStatistics : bool , pub WatchFocus : bool , pub IncrementalResetInProgress : bool , pub JoinOperationInProgress : bool , pub GlobalLHSBinds : * mut partialMatch , pub GlobalRHSBinds : * mut partialMatch , pub GlobalJoin : * mut joinNode , pub GarbagePartialMatches : * mut partialMatch , pub GarbageAlphaMatches : * mut alphaMatch , pub AlreadyRunning : bool , } # [ test ] fn bindgen_test_layout_engineData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < engineData > ( ) , 128usize , concat ! ( "Size of: " , stringify ! ( engineData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < engineData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( engineData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . ExecutingRule as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( ExecutingRule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . HaltRules as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( HaltRules ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . TheLogicalJoin as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( TheLogicalJoin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . TheLogicalBind as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( TheLogicalBind ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . UnsupportedDataEntities as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( UnsupportedDataEntities ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . alreadyEntered as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( alreadyEntered ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . ListOfAfterRuleFiresFunctions as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( ListOfAfterRuleFiresFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . ListOfBeforeRuleFiresFunctions as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( ListOfBeforeRuleFiresFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . CurrentFocus as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( CurrentFocus ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . FocusChanged as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( FocusChanged ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . WatchStatistics as * const _ as usize } , 73usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( WatchStatistics ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . WatchFocus as * const _ as usize } , 74usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( WatchFocus ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . IncrementalResetInProgress as * const _ as usize } , 75usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( IncrementalResetInProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . JoinOperationInProgress as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( JoinOperationInProgress ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . GlobalLHSBinds as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( GlobalLHSBinds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . GlobalRHSBinds as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( GlobalRHSBinds ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . GlobalJoin as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( GlobalJoin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . GarbagePartialMatches as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( GarbagePartialMatches ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . GarbageAlphaMatches as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( GarbageAlphaMatches ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < engineData > ( ) ) ) . AlreadyRunning as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( engineData ) , "::" , stringify ! ( AlreadyRunning ) ) ) ; } impl Default for engineData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn Run ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_longlong ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn AddAfterRuleFiresFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : RuleFiredFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveAfterRuleFiresFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn AddBeforeRuleFiresFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : RuleFiredFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveBeforeRuleFiresFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn AddRuleFiredFunctionToCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : RuleFiredFunction , arg5 : * mut RuleFiredFunctionItem , arg6 : * mut :: std :: os :: raw :: c_void ) -> * mut RuleFiredFunctionItem ; } extern "C" { pub fn RemoveRuleFiredFunctionFromCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut RuleFiredFunctionItem , arg4 : * mut bool ) -> * mut RuleFiredFunctionItem ; } extern "C" { pub fn DeallocateRuleFiredCallList ( arg1 : * mut Environment , arg2 : * mut RuleFiredFunctionItem ) ; } extern "C" { pub fn InitializeEngine ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetBreak ( arg1 : * mut Defrule ) ; } extern "C" { pub fn Halt ( arg1 : * mut Environment ) ; } extern "C" { pub fn RemoveBreak ( arg1 : * mut Defrule ) -> bool ; } extern "C" { pub fn RemoveAllBreakpoints ( arg1 : * mut Environment ) ; } extern "C" { pub fn ShowBreaks ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DefruleHasBreakpoint ( arg1 : * mut Defrule ) -> bool ; } extern "C" { pub fn RunCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetBreakCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RemoveBreakCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ShowBreaksCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn HaltCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FocusCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClearFocusStackCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClearFocusStack ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetNextFocus ( arg1 : * mut Environment , arg2 : * mut FocalModule ) -> * mut FocalModule ; } extern "C" { pub fn FocalModuleName ( arg1 : * mut FocalModule ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn FocalModuleModule ( arg1 : * mut FocalModule ) -> * mut Defmodule ; } extern "C" { pub fn Focus ( arg1 : * mut Defmodule ) ; } extern "C" { pub fn GetFocusChanged ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetFocusChanged ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn ListFocusStackCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListFocusStack ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn GetFocusStackFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetFocusStack ( arg1 : * mut Environment , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn PopFocusFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PopFocus ( arg1 : * mut Environment ) -> * mut Defmodule ; } extern "C" { pub fn GetHaltRules ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetHaltRules ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn NextActivationToFire ( arg1 : * mut Environment ) -> * mut Activation ; } extern "C" { pub fn NetworkAssert ( arg1 : * mut Environment , arg2 : * mut partialMatch , arg3 : * mut joinNode ) ; } extern "C" { pub fn EvaluateJoinExpression ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * mut joinNode ) -> bool ; } extern "C" { pub fn NetworkAssertLeft ( arg1 : * mut Environment , arg2 : * mut partialMatch , arg3 : * mut joinNode , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn NetworkAssertRight ( arg1 : * mut Environment , arg2 : * mut partialMatch , arg3 : * mut joinNode , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn PPDrive ( arg1 : * mut Environment , arg2 : * mut partialMatch , arg3 : * mut partialMatch , arg4 : * mut joinNode , arg5 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn BetaMemoryHashValue ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * mut partialMatch , arg4 : * mut partialMatch , arg5 : * mut joinNode ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn EvaluateSecondaryNetworkTest ( arg1 : * mut Environment , arg2 : * mut partialMatch , arg3 : * mut joinNode ) -> bool ; } extern "C" { pub fn EPMDrive ( arg1 : * mut Environment , arg2 : * mut partialMatch , arg3 : * mut joinNode , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn IncrementalReset ( arg1 : * mut Environment , arg2 : * mut Defrule ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct joinInformation { pub whichCE : :: std :: os :: raw :: c_ushort , pub theJoin : * mut joinNode , pub patternBegin : :: std :: os :: raw :: c_int , pub patternEnd : :: std :: os :: raw :: c_int , pub marked : :: std :: os :: raw :: c_int , pub theMemory : * mut betaMemory , pub nextJoin : * mut joinNode , } # [ test ] fn bindgen_test_layout_joinInformation ( ) { assert_eq ! ( :: std :: mem :: size_of :: < joinInformation > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( joinInformation ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < joinInformation > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( joinInformation ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinInformation > ( ) ) ) . whichCE as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( joinInformation ) , "::" , stringify ! ( whichCE ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinInformation > ( ) ) ) . theJoin as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( joinInformation ) , "::" , stringify ! ( theJoin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinInformation > ( ) ) ) . patternBegin as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( joinInformation ) , "::" , stringify ! ( patternBegin ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinInformation > ( ) ) ) . patternEnd as * const _ as usize } , 20usize , concat ! ( "Offset of field: " , stringify ! ( joinInformation ) , "::" , stringify ! ( patternEnd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinInformation > ( ) ) ) . marked as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( joinInformation ) , "::" , stringify ! ( marked ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinInformation > ( ) ) ) . theMemory as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( joinInformation ) , "::" , stringify ! ( theMemory ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < joinInformation > ( ) ) ) . nextJoin as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( joinInformation ) , "::" , stringify ! ( nextJoin ) ) ) ; } impl Default for joinInformation { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub const Verbosity_VERBOSE : Verbosity = 0 ; pub const Verbosity_SUCCINCT : Verbosity = 1 ; pub const Verbosity_TERSE : Verbosity = 2 ; pub type Verbosity = u32 ; extern "C" { pub fn GetBetaMemoryResizing ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetBetaMemoryResizing ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn GetBetaMemoryResizingCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetBetaMemoryResizingCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Matches ( arg1 : * mut Defrule , arg2 : Verbosity , arg3 : * mut CLIPSValue ) ; } extern "C" { pub fn JoinActivity ( arg1 : * mut Environment , arg2 : * mut Defrule , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut UDFValue ) ; } extern "C" { pub fn DefruleCommands ( arg1 : * mut Environment ) ; } extern "C" { pub fn MatchesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn JoinActivityCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn TimetagFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn AlphaJoinCount ( arg1 : * mut Environment , arg2 : * mut Defrule ) -> :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn BetaJoinCount ( arg1 : * mut Environment , arg2 : * mut Defrule ) -> :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn CreateJoinArray ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ushort ) -> * mut joinInformation ; } extern "C" { pub fn FreeJoinArray ( arg1 : * mut Environment , arg2 : * mut joinInformation , arg3 : :: std :: os :: raw :: c_ushort ) ; } extern "C" { pub fn AlphaJoins ( arg1 : * mut Environment , arg2 : * mut Defrule , arg3 : :: std :: os :: raw :: c_ushort , arg4 : * mut joinInformation ) ; } extern "C" { pub fn BetaJoins ( arg1 : * mut Environment , arg2 : * mut Defrule , arg3 : :: std :: os :: raw :: c_ushort , arg4 : * mut joinInformation ) ; } extern "C" { pub fn JoinActivityResetCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetFocusFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetFocus ( arg1 : * mut Environment ) -> * mut Defmodule ; } pub type Deffacts = deffacts ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deffactsData { pub DeffactsConstruct : * mut Construct , pub DeffactsModuleIndex : :: std :: os :: raw :: c_uint , pub DeffactsCodeItem : * mut CodeGeneratorItem , } # [ test ] fn bindgen_test_layout_deffactsData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deffactsData > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( deffactsData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deffactsData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deffactsData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffactsData > ( ) ) ) . DeffactsConstruct as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deffactsData ) , "::" , stringify ! ( DeffactsConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffactsData > ( ) ) ) . DeffactsModuleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( deffactsData ) , "::" , stringify ! ( DeffactsModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffactsData > ( ) ) ) . DeffactsCodeItem as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( deffactsData ) , "::" , stringify ! ( DeffactsCodeItem ) ) ) ; } impl Default for deffactsData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deffacts { pub header : ConstructHeader , pub assertList : * mut expr , } # [ test ] fn bindgen_test_layout_deffacts ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deffacts > ( ) , 72usize , concat ! ( "Size of: " , stringify ! ( deffacts ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deffacts > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deffacts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffacts > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deffacts ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffacts > ( ) ) ) . assertList as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( deffacts ) , "::" , stringify ! ( assertList ) ) ) ; } impl Default for deffacts { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deffactsModule { pub header : defmoduleItemHeader , } # [ test ] fn bindgen_test_layout_deffactsModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deffactsModule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( deffactsModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deffactsModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deffactsModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffactsModule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deffactsModule ) , "::" , stringify ! ( header ) ) ) ; } impl Default for deffactsModule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeDeffacts ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindDeffacts ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Deffacts ; } extern "C" { pub fn FindDeffactsInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Deffacts ; } extern "C" { pub fn GetNextDeffacts ( arg1 : * mut Environment , arg2 : * mut Deffacts ) -> * mut Deffacts ; } extern "C" { pub fn CreateInitialFactDeffacts ( ) ; } extern "C" { pub fn DeffactsIsDeletable ( arg1 : * mut Deffacts ) -> bool ; } extern "C" { pub fn GetDeffactsModuleItem ( arg1 : * mut Environment , arg2 : * mut Defmodule ) -> * mut deffactsModule ; } extern "C" { pub fn DeffactsModule ( arg1 : * mut Deffacts ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DeffactsName ( arg1 : * mut Deffacts ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DeffactsPPForm ( arg1 : * mut Deffacts ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DeffactsBasicCommands ( arg1 : * mut Environment ) ; } extern "C" { pub fn UndeffactsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Undeffacts ( arg1 : * mut Deffacts , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn GetDeffactsListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDeffactsList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DeffactsModuleFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDeffactsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDeffacts ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn ListDeffactsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDeffacts ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } pub type Deftemplate = deftemplate ; pub type TemplateSlot = templateSlot ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deftemplateModule { pub header : defmoduleItemHeader , } # [ test ] fn bindgen_test_layout_deftemplateModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deftemplateModule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( deftemplateModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deftemplateModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deftemplateModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplateModule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deftemplateModule ) , "::" , stringify ! ( header ) ) ) ; } impl Default for deftemplateModule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct factPatternNode { pub header : patternNodeHeader , pub bsaveID : :: std :: os :: raw :: c_ulong , pub whichField : :: std :: os :: raw :: c_ushort , pub whichSlot : :: std :: os :: raw :: c_ushort , pub leaveFields : :: std :: os :: raw :: c_ushort , pub networkTest : * mut expr , pub nextLevel : * mut factPatternNode , pub lastLevel : * mut factPatternNode , pub leftNode : * mut factPatternNode , pub rightNode : * mut factPatternNode , } # [ test ] fn bindgen_test_layout_factPatternNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < factPatternNode > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( factPatternNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < factPatternNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( factPatternNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . bsaveID as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( bsaveID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . whichField as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( whichField ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . whichSlot as * const _ as usize } , 50usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( whichSlot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . leaveFields as * const _ as usize } , 52usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( leaveFields ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . networkTest as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( networkTest ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . nextLevel as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( nextLevel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . lastLevel as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( lastLevel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . leftNode as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( leftNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factPatternNode > ( ) ) ) . rightNode as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( factPatternNode ) , "::" , stringify ! ( rightNode ) ) ) ; } impl Default for factPatternNode { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeFactPatterns ( arg1 : * mut Environment ) ; } extern "C" { pub fn DestroyFactPatternNetwork ( arg1 : * mut Environment , arg2 : * mut factPatternNode ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deftemplate { pub header : ConstructHeader , pub slotList : * mut templateSlot , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub numberOfSlots : :: std :: os :: raw :: c_ushort , pub busyCount : :: std :: os :: raw :: c_long , pub patternNetwork : * mut factPatternNode , pub factList : * mut Fact , pub lastFact : * mut Fact , } # [ test ] fn bindgen_test_layout_deftemplate ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deftemplate > ( ) , 112usize , concat ! ( "Size of: " , stringify ! ( deftemplate ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deftemplate > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deftemplate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplate > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deftemplate ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplate > ( ) ) ) . slotList as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( deftemplate ) , "::" , stringify ! ( slotList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplate > ( ) ) ) . numberOfSlots as * const _ as usize } , 74usize , concat ! ( "Offset of field: " , stringify ! ( deftemplate ) , "::" , stringify ! ( numberOfSlots ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplate > ( ) ) ) . busyCount as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( deftemplate ) , "::" , stringify ! ( busyCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplate > ( ) ) ) . patternNetwork as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( deftemplate ) , "::" , stringify ! ( patternNetwork ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplate > ( ) ) ) . factList as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( deftemplate ) , "::" , stringify ! ( factList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplate > ( ) ) ) . lastFact as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( deftemplate ) , "::" , stringify ! ( lastFact ) ) ) ; } impl Default for deftemplate { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl deftemplate { # [ inline ] pub fn implied ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_implied ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn watch ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_watch ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn inScope ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_inScope ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( implied : :: std :: os :: raw :: c_uint , watch : :: std :: os :: raw :: c_uint , inScope : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let implied : u32 = unsafe { :: std :: mem :: transmute ( implied ) } ; implied as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let watch : u32 = unsafe { :: std :: mem :: transmute ( watch ) } ; watch as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let inScope : u32 = unsafe { :: std :: mem :: transmute ( inScope ) } ; inScope as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct templateSlot { pub slotName : * mut CLIPSLexeme , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub constraints : * mut CONSTRAINT_RECORD , pub defaultList : * mut Expression , pub facetList : * mut Expression , pub next : * mut templateSlot , } # [ test ] fn bindgen_test_layout_templateSlot ( ) { assert_eq ! ( :: std :: mem :: size_of :: < templateSlot > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( templateSlot ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < templateSlot > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( templateSlot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < templateSlot > ( ) ) ) . slotName as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( templateSlot ) , "::" , stringify ! ( slotName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < templateSlot > ( ) ) ) . constraints as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( templateSlot ) , "::" , stringify ! ( constraints ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < templateSlot > ( ) ) ) . defaultList as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( templateSlot ) , "::" , stringify ! ( defaultList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < templateSlot > ( ) ) ) . facetList as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( templateSlot ) , "::" , stringify ! ( facetList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < templateSlot > ( ) ) ) . next as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( templateSlot ) , "::" , stringify ! ( next ) ) ) ; } impl Default for templateSlot { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl templateSlot { # [ inline ] pub fn multislot ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_multislot ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn noDefault ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_noDefault ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn defaultPresent ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_defaultPresent ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn defaultDynamic ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_defaultDynamic ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( multislot : :: std :: os :: raw :: c_uint , noDefault : :: std :: os :: raw :: c_uint , defaultPresent : :: std :: os :: raw :: c_uint , defaultDynamic : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let multislot : u32 = unsafe { :: std :: mem :: transmute ( multislot ) } ; multislot as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let noDefault : u32 = unsafe { :: std :: mem :: transmute ( noDefault ) } ; noDefault as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let defaultPresent : u32 = unsafe { :: std :: mem :: transmute ( defaultPresent ) } ; defaultPresent as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let defaultDynamic : u32 = unsafe { :: std :: mem :: transmute ( defaultDynamic ) } ; defaultDynamic as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deftemplateData { pub DeftemplateConstruct : * mut Construct , pub DeftemplateModuleIndex : :: std :: os :: raw :: c_uint , pub DeftemplatePtrRecord : entityRecord , pub DeletedTemplateDebugFlags : :: std :: os :: raw :: c_int , pub DeftemplateCodeItem : * mut CodeGeneratorItem , pub DeftemplateError : bool , } # [ test ] fn bindgen_test_layout_deftemplateData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deftemplateData > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( deftemplateData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deftemplateData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deftemplateData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplateData > ( ) ) ) . DeftemplateConstruct as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deftemplateData ) , "::" , stringify ! ( DeftemplateConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplateData > ( ) ) ) . DeftemplateModuleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( deftemplateData ) , "::" , stringify ! ( DeftemplateModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplateData > ( ) ) ) . DeftemplatePtrRecord as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( deftemplateData ) , "::" , stringify ! ( DeftemplatePtrRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplateData > ( ) ) ) . DeletedTemplateDebugFlags as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( deftemplateData ) , "::" , stringify ! ( DeletedTemplateDebugFlags ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplateData > ( ) ) ) . DeftemplateCodeItem as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( deftemplateData ) , "::" , stringify ! ( DeftemplateCodeItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deftemplateData > ( ) ) ) . DeftemplateError as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( deftemplateData ) , "::" , stringify ! ( DeftemplateError ) ) ) ; } impl Default for deftemplateData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeDeftemplates ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindDeftemplate ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Deftemplate ; } extern "C" { pub fn FindDeftemplateInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Deftemplate ; } extern "C" { pub fn GetNextDeftemplate ( arg1 : * mut Environment , arg2 : * mut Deftemplate ) -> * mut Deftemplate ; } extern "C" { pub fn DeftemplateIsDeletable ( arg1 : * mut Deftemplate ) -> bool ; } extern "C" { pub fn GetNextFactInTemplate ( arg1 : * mut Deftemplate , arg2 : * mut Fact ) -> * mut Fact ; } extern "C" { pub fn GetDeftemplateModuleItem ( arg1 : * mut Environment , arg2 : * mut Defmodule ) -> * mut deftemplateModule ; } extern "C" { pub fn ReturnSlots ( arg1 : * mut Environment , arg2 : * mut templateSlot ) ; } extern "C" { pub fn IncrementDeftemplateBusyCount ( arg1 : * mut Environment , arg2 : * mut Deftemplate ) ; } extern "C" { pub fn DecrementDeftemplateBusyCount ( arg1 : * mut Environment , arg2 : * mut Deftemplate ) ; } extern "C" { pub fn CreateDeftemplateScopeMap ( arg1 : * mut Environment , arg2 : * mut Deftemplate ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn DeftemplateModule ( arg1 : * mut Deftemplate ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DeftemplateName ( arg1 : * mut Deftemplate ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DeftemplatePPForm ( arg1 : * mut Deftemplate ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DeftemplateBasicCommands ( arg1 : * mut Environment ) ; } extern "C" { pub fn UndeftemplateCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Undeftemplate ( arg1 : * mut Deftemplate , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn GetDeftemplateListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDeftemplateList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DeftemplateModuleFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDeftemplateCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDeftemplate ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn ListDeftemplatesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDeftemplates ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DeftemplateGetWatch ( arg1 : * mut Deftemplate ) -> bool ; } extern "C" { pub fn DeftemplateSetWatch ( arg1 : * mut Deftemplate , arg2 : bool ) ; } extern "C" { pub fn DeftemplateWatchAccess ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : bool , arg4 : * mut expr ) -> bool ; } extern "C" { pub fn DeftemplateWatchPrint ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut expr ) -> bool ; } pub type FactBuilder = factBuilder ; pub type FactModifier = factModifier ; pub type ModifyCallFunction = :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : * mut Fact , arg4 : * mut :: std :: os :: raw :: c_void ) > ; pub type ModifyCallFunctionItem = modifyCallFunctionItem ; pub const RetractError_RE_NO_ERROR : RetractError = 0 ; pub const RetractError_RE_NULL_POINTER_ERROR : RetractError = 1 ; pub const RetractError_RE_COULD_NOT_RETRACT_ERROR : RetractError = 2 ; pub const RetractError_RE_RULE_NETWORK_ERROR : RetractError = 3 ; pub type RetractError = u32 ; pub const AssertError_AE_NO_ERROR : AssertError = 0 ; pub const AssertError_AE_NULL_POINTER_ERROR : AssertError = 1 ; pub const AssertError_AE_RETRACTED_ERROR : AssertError = 2 ; pub const AssertError_AE_COULD_NOT_ASSERT_ERROR : AssertError = 3 ; pub const AssertError_AE_RULE_NETWORK_ERROR : AssertError = 4 ; pub type AssertError = u32 ; pub const AssertStringError_ASE_NO_ERROR : AssertStringError = 0 ; pub const AssertStringError_ASE_NULL_POINTER_ERROR : AssertStringError = 1 ; pub const AssertStringError_ASE_PARSING_ERROR : AssertStringError = 2 ; pub const AssertStringError_ASE_COULD_NOT_ASSERT_ERROR : AssertStringError = 3 ; pub const AssertStringError_ASE_RULE_NETWORK_ERROR : AssertStringError = 4 ; pub type AssertStringError = u32 ; pub const FactBuilderError_FBE_NO_ERROR : FactBuilderError = 0 ; pub const FactBuilderError_FBE_NULL_POINTER_ERROR : FactBuilderError = 1 ; pub const FactBuilderError_FBE_DEFTEMPLATE_NOT_FOUND_ERROR : FactBuilderError = 2 ; pub const FactBuilderError_FBE_IMPLIED_DEFTEMPLATE_ERROR : FactBuilderError = 3 ; pub const FactBuilderError_FBE_COULD_NOT_ASSERT_ERROR : FactBuilderError = 4 ; pub const FactBuilderError_FBE_RULE_NETWORK_ERROR : FactBuilderError = 5 ; pub type FactBuilderError = u32 ; pub const FactModifierError_FME_NO_ERROR : FactModifierError = 0 ; pub const FactModifierError_FME_NULL_POINTER_ERROR : FactModifierError = 1 ; pub const FactModifierError_FME_RETRACTED_ERROR : FactModifierError = 2 ; pub const FactModifierError_FME_IMPLIED_DEFTEMPLATE_ERROR : FactModifierError = 3 ; pub const FactModifierError_FME_COULD_NOT_MODIFY_ERROR : FactModifierError = 4 ; pub const FactModifierError_FME_RULE_NETWORK_ERROR : FactModifierError = 5 ; pub type FactModifierError = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct modifyCallFunctionItem { pub name : * const :: std :: os :: raw :: c_char , pub func : ModifyCallFunction , pub priority : :: std :: os :: raw :: c_int , pub next : * mut ModifyCallFunctionItem , pub context : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout_modifyCallFunctionItem ( ) { assert_eq ! ( :: std :: mem :: size_of :: < modifyCallFunctionItem > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( modifyCallFunctionItem ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < modifyCallFunctionItem > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( modifyCallFunctionItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < modifyCallFunctionItem > ( ) ) ) . name as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( modifyCallFunctionItem ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < modifyCallFunctionItem > ( ) ) ) . func as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( modifyCallFunctionItem ) , "::" , stringify ! ( func ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < modifyCallFunctionItem > ( ) ) ) . priority as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( modifyCallFunctionItem ) , "::" , stringify ! ( priority ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < modifyCallFunctionItem > ( ) ) ) . next as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( modifyCallFunctionItem ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < modifyCallFunctionItem > ( ) ) ) . context as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( modifyCallFunctionItem ) , "::" , stringify ! ( context ) ) ) ; } impl Default for modifyCallFunctionItem { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct fact { pub __bindgen_anon_1 : fact__bindgen_ty_1 , pub whichDeftemplate : * mut Deftemplate , pub list : * mut :: std :: os :: raw :: c_void , pub factIndex : :: std :: os :: raw :: c_longlong , pub hashValue : :: std :: os :: raw :: c_ulong , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub previousFact : * mut Fact , pub nextFact : * mut Fact , pub previousTemplateFact : * mut Fact , pub nextTemplateFact : * mut Fact , pub basisSlots : * mut Multifield , pub theProposition : Multifield , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union fact__bindgen_ty_1 { pub patternHeader : patternEntity , pub header : TypeHeader , _bindgen_union_align : [ u64 ; 5usize ] , } # [ test ] fn bindgen_test_layout_fact__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < fact__bindgen_ty_1 > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( fact__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < fact__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( fact__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact__bindgen_ty_1 > ( ) ) ) . patternHeader as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( fact__bindgen_ty_1 ) , "::" , stringify ! ( patternHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact__bindgen_ty_1 > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( fact__bindgen_ty_1 ) , "::" , stringify ! ( header ) ) ) ; } impl Default for fact__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for fact__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "fact__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_fact ( ) { assert_eq ! ( :: std :: mem :: size_of :: < fact > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( fact ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < fact > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( fact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . whichDeftemplate as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( whichDeftemplate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . list as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( list ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . factIndex as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( factIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . hashValue as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( hashValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . previousFact as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( previousFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . nextFact as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( nextFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . previousTemplateFact as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( previousTemplateFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . nextTemplateFact as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( nextTemplateFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . basisSlots as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( basisSlots ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < fact > ( ) ) ) . theProposition as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( fact ) , "::" , stringify ! ( theProposition ) ) ) ; } impl Default for fact { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for fact { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "fact {{ __bindgen_anon_1: {:?}, whichDeftemplate: {:?}, list: {:?}, factIndex: {:?}, hashValue: {:?}, garbage : {:?}, previousFact: {:?}, nextFact: {:?}, previousTemplateFact: {:?}, nextTemplateFact: {:?}, basisSlots: {:?}, theProposition: {:?} }}" , self . __bindgen_anon_1 , self . whichDeftemplate , self . list , self . factIndex , self . hashValue , self . garbage ( ) , self . previousFact , self . nextFact , self . previousTemplateFact , self . nextTemplateFact , self . basisSlots , self . theProposition ) } } impl fact { # [ inline ] pub fn garbage ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_garbage ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( garbage : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let garbage : u32 = unsafe { :: std :: mem :: transmute ( garbage ) } ; garbage as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct factBuilder { pub fbEnv : * mut Environment , pub fbDeftemplate : * mut Deftemplate , pub fbValueArray : * mut CLIPSValue , } # [ test ] fn bindgen_test_layout_factBuilder ( ) { assert_eq ! ( :: std :: mem :: size_of :: < factBuilder > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( factBuilder ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < factBuilder > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( factBuilder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factBuilder > ( ) ) ) . fbEnv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( factBuilder ) , "::" , stringify ! ( fbEnv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factBuilder > ( ) ) ) . fbDeftemplate as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( factBuilder ) , "::" , stringify ! ( fbDeftemplate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factBuilder > ( ) ) ) . fbValueArray as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( factBuilder ) , "::" , stringify ! ( fbValueArray ) ) ) ; } impl Default for factBuilder { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct factModifier { pub fmEnv : * mut Environment , pub fmOldFact : * mut Fact , pub fmValueArray : * mut CLIPSValue , pub changeMap : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_factModifier ( ) { assert_eq ! ( :: std :: mem :: size_of :: < factModifier > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( factModifier ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < factModifier > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( factModifier ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factModifier > ( ) ) ) . fmEnv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( factModifier ) , "::" , stringify ! ( fmEnv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factModifier > ( ) ) ) . fmOldFact as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( factModifier ) , "::" , stringify ! ( fmOldFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factModifier > ( ) ) ) . fmValueArray as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( factModifier ) , "::" , stringify ! ( fmValueArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factModifier > ( ) ) ) . changeMap as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( factModifier ) , "::" , stringify ! ( changeMap ) ) ) ; } impl Default for factModifier { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type FactHashEntry = factHashEntry ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct factHashEntry { pub theFact : * mut Fact , pub next : * mut FactHashEntry , } # [ test ] fn bindgen_test_layout_factHashEntry ( ) { assert_eq ! ( :: std :: mem :: size_of :: < factHashEntry > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( factHashEntry ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < factHashEntry > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( factHashEntry ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factHashEntry > ( ) ) ) . theFact as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( factHashEntry ) , "::" , stringify ! ( theFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factHashEntry > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( factHashEntry ) , "::" , stringify ! ( next ) ) ) ; } impl Default for factHashEntry { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn AddHashedFact ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : size_t ) ; } extern "C" { pub fn RemoveHashedFact ( arg1 : * mut Environment , arg2 : * mut Fact ) -> bool ; } extern "C" { pub fn HandleFactDuplication ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : * mut * mut Fact , arg4 : :: std :: os :: raw :: c_longlong ) -> size_t ; } extern "C" { pub fn GetFactDuplication ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetFactDuplication ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn InitializeFactHashTable ( arg1 : * mut Environment ) ; } extern "C" { pub fn ShowFactHashTableCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn HashFact ( arg1 : * mut Fact ) -> size_t ; } extern "C" { pub fn FactWillBeAsserted ( arg1 : * mut Environment , arg2 : * mut Fact ) -> bool ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct factsData { pub ChangeToFactList : bool , pub WatchFacts : bool , pub DummyFact : Fact , pub GarbageFacts : * mut Fact , pub LastFact : * mut Fact , pub FactList : * mut Fact , pub NextFactIndex : :: std :: os :: raw :: c_longlong , pub NumberOfFacts : :: std :: os :: raw :: c_ulong , pub ListOfAssertFunctions : * mut callFunctionItemWithArg , pub ListOfRetractFunctions : * mut callFunctionItemWithArg , pub ListOfModifyFunctions : * mut ModifyCallFunctionItem , pub FactInfo : patternEntityRecord , pub CurrentDeftemplate : * mut Deftemplate , pub FactCodeItem : * mut CodeGeneratorItem , pub FactHashTable : * mut * mut factHashEntry , pub FactHashTableSize : :: std :: os :: raw :: c_ulong , pub FactDuplication : bool , pub CurrentPatternFact : * mut Fact , pub CurrentPatternMarks : * mut multifieldMarker , pub LastModuleIndex : :: std :: os :: raw :: c_long , pub retractError : RetractError , pub assertError : AssertError , pub assertStringError : AssertStringError , pub factModifierError : FactModifierError , pub factBuilderError : FactBuilderError , } # [ test ] fn bindgen_test_layout_factsData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < factsData > ( ) , 464usize , concat ! ( "Size of: " , stringify ! ( factsData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < factsData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( factsData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . ChangeToFactList as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( ChangeToFactList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . WatchFacts as * const _ as usize } , 1usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( WatchFacts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . DummyFact as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( DummyFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . GarbageFacts as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( GarbageFacts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . LastFact as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( LastFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . FactList as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( FactList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . NextFactIndex as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( NextFactIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . NumberOfFacts as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( NumberOfFacts ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . ListOfAssertFunctions as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( ListOfAssertFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . ListOfRetractFunctions as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( ListOfRetractFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . ListOfModifyFunctions as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( ListOfModifyFunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . FactInfo as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( FactInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . CurrentDeftemplate as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( CurrentDeftemplate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . FactCodeItem as * const _ as usize } , 384usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( FactCodeItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . FactHashTable as * const _ as usize } , 392usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( FactHashTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . FactHashTableSize as * const _ as usize } , 400usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( FactHashTableSize ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . FactDuplication as * const _ as usize } , 408usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( FactDuplication ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . CurrentPatternFact as * const _ as usize } , 416usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( CurrentPatternFact ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . CurrentPatternMarks as * const _ as usize } , 424usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( CurrentPatternMarks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . LastModuleIndex as * const _ as usize } , 432usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( LastModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . retractError as * const _ as usize } , 440usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( retractError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . assertError as * const _ as usize } , 444usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( assertError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . assertStringError as * const _ as usize } , 448usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( assertStringError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . factModifierError as * const _ as usize } , 452usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( factModifierError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < factsData > ( ) ) ) . factBuilderError as * const _ as usize } , 456usize , concat ! ( "Offset of field: " , stringify ! ( factsData ) , "::" , stringify ! ( factBuilderError ) ) ) ; } impl Default for factsData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for factsData { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "factsData {{ ChangeToFactList: {:?}, WatchFacts: {:?}, DummyFact: {:?}, GarbageFacts: {:?}, LastFact: {:?}, FactList: {:?}, NextFactIndex: {:?}, NumberOfFacts: {:?}, ListOfAssertFunctions: {:?}, ListOfRetractFunctions: {:?}, ListOfModifyFunctions: {:?}, FactInfo: {:?}, CurrentDeftemplate: {:?}, FactCodeItem: {:?}, FactHashTable: {:?}, FactHashTableSize: {:?}, FactDuplication: {:?}, CurrentPatternFact: {:?}, CurrentPatternMarks: {:?}, LastModuleIndex: {:?}, retractError: {:?}, assertError: {:?}, assertStringError: {:?}, factModifierError: {:?}, factBuilderError: {:?} }}" , self . ChangeToFactList , self . WatchFacts , self . DummyFact , self . GarbageFacts , self . LastFact , self . FactList , self . NextFactIndex , self . NumberOfFacts , self . ListOfAssertFunctions , self . ListOfRetractFunctions , self . ListOfModifyFunctions , self . FactInfo , self . CurrentDeftemplate , self . FactCodeItem , self . FactHashTable , self . FactHashTableSize , self . FactDuplication , self . CurrentPatternFact , self . CurrentPatternMarks , self . LastModuleIndex , self . retractError , self . assertError , self . assertStringError , self . factModifierError , self . factBuilderError ) } } extern "C" { pub fn Assert ( arg1 : * mut Fact ) -> * mut Fact ; } extern "C" { pub fn GetAssertStringError ( arg1 : * mut Environment ) -> AssertStringError ; } extern "C" { pub fn AssertDriver ( arg1 : * mut Fact , arg2 : :: std :: os :: raw :: c_longlong , arg3 : * mut Fact , arg4 : * mut Fact , arg5 : * mut :: std :: os :: raw :: c_char ) -> * mut Fact ; } extern "C" { pub fn AssertString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Fact ; } extern "C" { pub fn CreateFact ( arg1 : * mut Deftemplate ) -> * mut Fact ; } extern "C" { pub fn ReleaseFact ( arg1 : * mut Fact ) ; } extern "C" { pub fn DecrementFactCallback ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn FactIndex ( arg1 : * mut Fact ) -> :: std :: os :: raw :: c_longlong ; } extern "C" { pub fn GetFactSlot ( arg1 : * mut Fact , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> GetSlotError ; } extern "C" { pub fn PrintFactWithIdentifier ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact , arg4 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn PrintFact ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact , arg4 : bool , arg5 : bool , arg6 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn PrintFactIdentifierInLongForm ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact ) ; } extern "C" { pub fn Retract ( arg1 : * mut Fact ) -> RetractError ; } extern "C" { pub fn RetractDriver ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : bool , arg4 : * mut :: std :: os :: raw :: c_char ) -> RetractError ; } extern "C" { pub fn RetractAllFacts ( arg1 : * mut Environment ) -> RetractError ; } extern "C" { pub fn CreateFactBySize ( arg1 : * mut Environment , arg2 : size_t ) -> * mut Fact ; } extern "C" { pub fn FactInstall ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn FactDeinstall ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn GetNextFact ( arg1 : * mut Environment , arg2 : * mut Fact ) -> * mut Fact ; } extern "C" { pub fn GetNextFactInScope ( arg1 : * mut Environment , arg2 : * mut Fact ) -> * mut Fact ; } extern "C" { pub fn FactPPForm ( arg1 : * mut Fact , arg2 : * mut StringBuilder , arg3 : bool ) ; } extern "C" { pub fn GetFactListChanged ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetFactListChanged ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn GetNumberOfFacts ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn InitializeFacts ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindIndexedFact ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_longlong ) -> * mut Fact ; } extern "C" { pub fn RetainFact ( arg1 : * mut Fact ) ; } extern "C" { pub fn IncrementFactCallback ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn PrintFactIdentifier ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact ) ; } extern "C" { pub fn DecrementFactBasisCount ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn IncrementFactBasisCount ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn FactIsDeleted ( arg1 : * mut Environment , arg2 : * mut Fact ) -> bool ; } extern "C" { pub fn ReturnFact ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn MatchFactFunction ( arg1 : * mut Environment , arg2 : * mut Fact ) ; } extern "C" { pub fn PutFactSlot ( arg1 : * mut Fact , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn AssignFactSlotDefaults ( arg1 : * mut Fact ) -> bool ; } extern "C" { pub fn CopyFactSlotValues ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : * mut Fact ) -> bool ; } extern "C" { pub fn DeftemplateSlotDefault ( arg1 : * mut Environment , arg2 : * mut Deftemplate , arg3 : * mut templateSlot , arg4 : * mut UDFValue , arg5 : bool ) -> bool ; } extern "C" { pub fn AddAssertFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunctionWithArg , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveAssertFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn AddRetractFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : VoidCallFunctionWithArg , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveRetractFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn CreateFactBuilder ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut FactBuilder ; } extern "C" { pub fn FBPutSlot ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> PutSlotError ; } extern "C" { pub fn FBAssert ( arg1 : * mut FactBuilder ) -> * mut Fact ; } extern "C" { pub fn FBDispose ( arg1 : * mut FactBuilder ) ; } extern "C" { pub fn FBAbort ( arg1 : * mut FactBuilder ) ; } extern "C" { pub fn FBSetDeftemplate ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char ) -> FactBuilderError ; } extern "C" { pub fn FBPutSlotCLIPSInteger ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSInteger ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotInteger ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_longlong ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotCLIPSFloat ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSFloat ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotFloat ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : f64 ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotCLIPSLexeme ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSLexeme ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotSymbol ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotString ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotInstanceName ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotFact ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotInstance ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Instance ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotCLIPSExternalAddress ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSExternalAddress ) -> PutSlotError ; } extern "C" { pub fn FBPutSlotMultifield ( arg1 : * mut FactBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Multifield ) -> PutSlotError ; } extern "C" { pub fn FBError ( arg1 : * mut Environment ) -> FactBuilderError ; } extern "C" { pub fn CreateFactModifier ( arg1 : * mut Environment , arg2 : * mut Fact ) -> * mut FactModifier ; } extern "C" { pub fn FMPutSlot ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> PutSlotError ; } extern "C" { pub fn FMModify ( arg1 : * mut FactModifier ) -> * mut Fact ; } extern "C" { pub fn FMDispose ( arg1 : * mut FactModifier ) ; } extern "C" { pub fn FMAbort ( arg1 : * mut FactModifier ) ; } extern "C" { pub fn FMSetFact ( arg1 : * mut FactModifier , arg2 : * mut Fact ) -> FactModifierError ; } extern "C" { pub fn FMPutSlotCLIPSInteger ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSInteger ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotInteger ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_longlong ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotCLIPSFloat ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSFloat ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotFloat ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : f64 ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotCLIPSLexeme ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSLexeme ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotSymbol ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotString ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotInstanceName ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotFact ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotInstance ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Instance ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotExternalAddress ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSExternalAddress ) -> PutSlotError ; } extern "C" { pub fn FMPutSlotMultifield ( arg1 : * mut FactModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Multifield ) -> PutSlotError ; } extern "C" { pub fn FMError ( arg1 : * mut Environment ) -> FactModifierError ; } extern "C" { pub fn AddModifyFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : ModifyCallFunction , arg4 : :: std :: os :: raw :: c_int , arg5 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn RemoveModifyFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn AddModifyFunctionToCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : ModifyCallFunction , arg5 : * mut ModifyCallFunctionItem , arg6 : * mut :: std :: os :: raw :: c_void ) -> * mut ModifyCallFunctionItem ; } extern "C" { pub fn RemoveModifyFunctionFromCallList ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut ModifyCallFunctionItem , arg4 : * mut bool ) -> * mut ModifyCallFunctionItem ; } extern "C" { pub fn DeallocateModifyCallList ( arg1 : * mut Environment , arg2 : * mut ModifyCallFunctionItem ) ; } extern "C" { pub fn UpdateModifyDuplicate ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn ModifyParse ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut expr ; } extern "C" { pub fn DuplicateParse ( arg1 : * mut Environment , arg2 : * mut expr , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut expr ; } extern "C" { pub fn DeftemplateFunctions ( arg1 : * mut Environment ) ; } extern "C" { pub fn ModifyCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DuplicateCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotNamesFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotNames ( arg1 : * mut Deftemplate , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn DeftemplateSlotDefaultValueFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotDefaultValue ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn DeftemplateSlotCardinalityFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotCardinality ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn DeftemplateSlotAllowedValuesFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotAllowedValues ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn DeftemplateSlotRangeFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotRange ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn DeftemplateSlotTypesFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotTypes ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn DeftemplateSlotMultiPFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotMultiP ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn DeftemplateSlotSinglePFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotSingleP ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn DeftemplateSlotExistPFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotExistP ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn DeftemplateSlotDefaultPFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotDefaultP ( arg1 : * mut Deftemplate , arg2 : * const :: std :: os :: raw :: c_char ) -> DefaultType ; } extern "C" { pub fn DeftemplateSlotFacetExistPFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotFacetExistP ( arg1 : * mut Environment , arg2 : * mut Deftemplate , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn DeftemplateSlotFacetValueFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeftemplateSlotFacetValue ( arg1 : * mut Environment , arg2 : * mut Deftemplate , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * const :: std :: os :: raw :: c_char , arg5 : * mut UDFValue ) -> bool ; } extern "C" { pub fn ReplaceFact ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : * mut CLIPSValue , arg4 : * mut :: std :: os :: raw :: c_char ) -> * mut Fact ; } extern "C" { pub fn FactCommandDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn AssertCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RetractCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn AssertStringFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FactsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Facts ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule , arg4 : :: std :: os :: raw :: c_longlong , arg5 : :: std :: os :: raw :: c_longlong , arg6 : :: std :: os :: raw :: c_longlong ) ; } extern "C" { pub fn SetFactDuplicationCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetFactDuplicationCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FactIndexFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FactFileCommandDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn SaveFactsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn LoadFactsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SaveFacts ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveScope ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn SaveFactsDriver ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveScope , arg4 : * mut expr ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn LoadFacts ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn LoadFactsFromString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn BinarySaveFactsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn BinaryLoadFactsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn BinarySaveFacts ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveScope ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn BinarySaveFactsDriver ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveScope , arg4 : * mut Expression ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn BinaryLoadFacts ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn FactFunctionDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn FactRelationFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FactRelation ( arg1 : * mut Fact ) -> * mut CLIPSLexeme ; } extern "C" { pub fn FactDeftemplate ( arg1 : * mut Fact ) -> * mut Deftemplate ; } extern "C" { pub fn FactExistpFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FactExistp ( arg1 : * mut Fact ) -> bool ; } extern "C" { pub fn FactSlotValueFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FactSlotValue ( arg1 : * mut Environment , arg2 : * mut Fact , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut CLIPSValue ) ; } extern "C" { pub fn FactSlotNamesFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FactSlotNames ( arg1 : * mut Fact , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn GetFactListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetFactList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn PPFactFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPFact ( arg1 : * mut Fact , arg2 : * const :: std :: os :: raw :: c_char , arg3 : bool ) ; } extern "C" { pub fn GetFactAddressOrIndexArgument ( arg1 : * mut UDFContext , arg2 : bool ) -> * mut Fact ; } extern "C" { pub fn FactAddresspFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } pub type Defglobal = defglobal ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defglobalData { pub DefglobalConstruct : * mut Construct , pub DefglobalModuleIndex : :: std :: os :: raw :: c_uint , pub ChangeToGlobals : bool , pub WatchGlobals : bool , pub ResetGlobals : bool , pub GlobalInfo : entityRecord , pub DefglobalPtrRecord : entityRecord , pub LastModuleIndex : :: std :: os :: raw :: c_long , pub TheDefmodule : * mut Defmodule , pub DefglobalCodeItem : * mut CodeGeneratorItem , } # [ test ] fn bindgen_test_layout_defglobalData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defglobalData > ( ) , 264usize , concat ! ( "Size of: " , stringify ! ( defglobalData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defglobalData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defglobalData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . DefglobalConstruct as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( DefglobalConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . DefglobalModuleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( DefglobalModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . ChangeToGlobals as * const _ as usize } , 12usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( ChangeToGlobals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . WatchGlobals as * const _ as usize } , 13usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( WatchGlobals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . ResetGlobals as * const _ as usize } , 14usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( ResetGlobals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . GlobalInfo as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( GlobalInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . DefglobalPtrRecord as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( DefglobalPtrRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . LastModuleIndex as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( LastModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . TheDefmodule as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( TheDefmodule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalData > ( ) ) ) . DefglobalCodeItem as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( defglobalData ) , "::" , stringify ! ( DefglobalCodeItem ) ) ) ; } impl Default for defglobalData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct defglobal { pub header : ConstructHeader , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub busyCount : :: std :: os :: raw :: c_long , pub current : CLIPSValue , pub initial : * mut expr , } # [ test ] fn bindgen_test_layout_defglobal ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defglobal > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( defglobal ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defglobal > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defglobal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobal > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defglobal ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobal > ( ) ) ) . busyCount as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( defglobal ) , "::" , stringify ! ( busyCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobal > ( ) ) ) . current as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( defglobal ) , "::" , stringify ! ( current ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobal > ( ) ) ) . initial as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( defglobal ) , "::" , stringify ! ( initial ) ) ) ; } impl Default for defglobal { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for defglobal { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "defglobal {{ header: {:?}, watch : {:?}, inScope : {:?}, busyCount: {:?}, current: {:?}, initial: {:?} }}" , self . header , self . watch ( ) , self . inScope ( ) , self . busyCount , self . current , self . initial ) } } impl defglobal { # [ inline ] pub fn watch ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_watch ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn inScope ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_inScope ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( watch : :: std :: os :: raw :: c_uint , inScope : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let watch : u32 = unsafe { :: std :: mem :: transmute ( watch ) } ; watch as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let inScope : u32 = unsafe { :: std :: mem :: transmute ( inScope ) } ; inScope as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defglobalModule { pub header : defmoduleItemHeader , } # [ test ] fn bindgen_test_layout_defglobalModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defglobalModule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( defglobalModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defglobalModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defglobalModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defglobalModule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defglobalModule ) , "::" , stringify ! ( header ) ) ) ; } impl Default for defglobalModule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn InitializeDefglobals ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindDefglobal ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defglobal ; } extern "C" { pub fn FindDefglobalInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defglobal ; } extern "C" { pub fn GetNextDefglobal ( arg1 : * mut Environment , arg2 : * mut Defglobal ) -> * mut Defglobal ; } extern "C" { pub fn CreateInitialFactDefglobal ( ) ; } extern "C" { pub fn DefglobalIsDeletable ( arg1 : * mut Defglobal ) -> bool ; } extern "C" { pub fn GetDefglobalModuleItem ( arg1 : * mut Environment , arg2 : * mut Defmodule ) -> * mut defglobalModule ; } extern "C" { pub fn QSetDefglobalValue ( arg1 : * mut Environment , arg2 : * mut Defglobal , arg3 : * mut UDFValue , arg4 : bool ) ; } extern "C" { pub fn QFindDefglobal ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme ) -> * mut Defglobal ; } extern "C" { pub fn DefglobalValueForm ( arg1 : * mut Defglobal , arg2 : * mut StringBuilder ) ; } extern "C" { pub fn GetGlobalsChanged ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetGlobalsChanged ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn DefglobalGetValue ( arg1 : * mut Defglobal , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn DefglobalSetValue ( arg1 : * mut Defglobal , arg2 : * mut CLIPSValue ) ; } extern "C" { pub fn DefglobalSetInteger ( arg1 : * mut Defglobal , arg2 : :: std :: os :: raw :: c_longlong ) ; } extern "C" { pub fn DefglobalSetFloat ( arg1 : * mut Defglobal , arg2 : f64 ) ; } extern "C" { pub fn DefglobalSetSymbol ( arg1 : * mut Defglobal , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn DefglobalSetString ( arg1 : * mut Defglobal , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn DefglobalSetInstanceName ( arg1 : * mut Defglobal , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn DefglobalSetCLIPSInteger ( arg1 : * mut Defglobal , arg2 : * mut CLIPSInteger ) ; } extern "C" { pub fn DefglobalSetCLIPSFloat ( arg1 : * mut Defglobal , arg2 : * mut CLIPSFloat ) ; } extern "C" { pub fn DefglobalSetCLIPSLexeme ( arg1 : * mut Defglobal , arg2 : * mut CLIPSLexeme ) ; } extern "C" { pub fn DefglobalSetFact ( arg1 : * mut Defglobal , arg2 : * mut Fact ) ; } extern "C" { pub fn DefglobalSetInstance ( arg1 : * mut Defglobal , arg2 : * mut Instance ) ; } extern "C" { pub fn DefglobalSetMultifield ( arg1 : * mut Defglobal , arg2 : * mut Multifield ) ; } extern "C" { pub fn DefglobalSetCLIPSExternalAddress ( arg1 : * mut Defglobal , arg2 : * mut CLIPSExternalAddress ) ; } extern "C" { pub fn UpdateDefglobalScope ( arg1 : * mut Environment ) ; } extern "C" { pub fn GetNextDefglobalInScope ( arg1 : * mut Environment , arg2 : * mut Defglobal ) -> * mut Defglobal ; } extern "C" { pub fn QGetDefglobalUDFValue ( arg1 : * mut Environment , arg2 : * mut Defglobal , arg3 : * mut UDFValue ) -> bool ; } extern "C" { pub fn DefglobalModule ( arg1 : * mut Defglobal ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefglobalName ( arg1 : * mut Defglobal ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefglobalPPForm ( arg1 : * mut Defglobal ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefglobalBasicCommands ( arg1 : * mut Environment ) ; } extern "C" { pub fn UndefglobalCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Undefglobal ( arg1 : * mut Defglobal , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn GetDefglobalListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefglobalList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DefglobalModuleFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDefglobalCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDefglobal ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn ListDefglobalsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DefglobalGetWatch ( arg1 : * mut Defglobal ) -> bool ; } extern "C" { pub fn ListDefglobals ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DefglobalSetWatch ( arg1 : * mut Defglobal , arg2 : bool ) ; } extern "C" { pub fn ResetDefglobals ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn DefglobalCommandDefinitions ( arg1 : * mut Environment ) ; } extern "C" { pub fn SetResetGlobalsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetResetGlobals ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn GetResetGlobalsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetResetGlobals ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn ShowDefglobalsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ShowDefglobals ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } pub type Deffunction = deffunction ; pub type DeffunctionModuleData = deffunctionModuleData ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deffunctionModuleData { pub header : defmoduleItemHeader , } # [ test ] fn bindgen_test_layout_deffunctionModuleData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deffunctionModuleData > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( deffunctionModuleData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deffunctionModuleData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deffunctionModuleData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunctionModuleData > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deffunctionModuleData ) , "::" , stringify ! ( header ) ) ) ; } impl Default for deffunctionModuleData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deffunction { pub header : ConstructHeader , pub busy : :: std :: os :: raw :: c_uint , pub executing : :: std :: os :: raw :: c_uint , pub trace : bool , pub code : * mut Expression , pub minNumberOfParameters : :: std :: os :: raw :: c_ushort , pub maxNumberOfParameters : :: std :: os :: raw :: c_ushort , pub numberOfLocalVars : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_deffunction ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deffunction > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( deffunction ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deffunction > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deffunction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunction > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deffunction ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunction > ( ) ) ) . busy as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( deffunction ) , "::" , stringify ! ( busy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunction > ( ) ) ) . executing as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( deffunction ) , "::" , stringify ! ( executing ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunction > ( ) ) ) . trace as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( deffunction ) , "::" , stringify ! ( trace ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunction > ( ) ) ) . code as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( deffunction ) , "::" , stringify ! ( code ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunction > ( ) ) ) . minNumberOfParameters as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( deffunction ) , "::" , stringify ! ( minNumberOfParameters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunction > ( ) ) ) . maxNumberOfParameters as * const _ as usize } , 90usize , concat ! ( "Offset of field: " , stringify ! ( deffunction ) , "::" , stringify ! ( maxNumberOfParameters ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunction > ( ) ) ) . numberOfLocalVars as * const _ as usize } , 92usize , concat ! ( "Offset of field: " , stringify ! ( deffunction ) , "::" , stringify ! ( numberOfLocalVars ) ) ) ; } impl Default for deffunction { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct deffunctionData { pub DeffunctionConstruct : * mut Construct , pub DeffunctionModuleIndex : :: std :: os :: raw :: c_uint , pub DeffunctionEntityRecord : EntityRecord , pub WatchDeffunctions : bool , pub DeffunctionCodeItem : * mut CodeGeneratorItem , pub ExecutingDeffunction : * mut Deffunction , } # [ test ] fn bindgen_test_layout_deffunctionData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < deffunctionData > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( deffunctionData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < deffunctionData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( deffunctionData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunctionData > ( ) ) ) . DeffunctionConstruct as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( deffunctionData ) , "::" , stringify ! ( DeffunctionConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunctionData > ( ) ) ) . DeffunctionModuleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( deffunctionData ) , "::" , stringify ! ( DeffunctionModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunctionData > ( ) ) ) . DeffunctionEntityRecord as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( deffunctionData ) , "::" , stringify ! ( DeffunctionEntityRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunctionData > ( ) ) ) . WatchDeffunctions as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( deffunctionData ) , "::" , stringify ! ( WatchDeffunctions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunctionData > ( ) ) ) . DeffunctionCodeItem as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( deffunctionData ) , "::" , stringify ! ( DeffunctionCodeItem ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < deffunctionData > ( ) ) ) . ExecutingDeffunction as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( deffunctionData ) , "::" , stringify ! ( ExecutingDeffunction ) ) ) ; } impl Default for deffunctionData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn CheckDeffunctionCall ( arg1 : * mut Environment , arg2 : * mut Deffunction , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn DeffunctionGetBind ( arg1 : * mut UDFValue ) ; } extern "C" { pub fn DFRtnUnknown ( arg1 : * mut UDFValue ) ; } extern "C" { pub fn DFWildargs ( arg1 : * mut UDFValue ) ; } extern "C" { pub fn DeffunctionModule ( arg1 : * mut Deffunction ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn FindDeffunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Deffunction ; } extern "C" { pub fn FindDeffunctionInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Deffunction ; } extern "C" { pub fn GetDeffunctionList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DeffunctionName ( arg1 : * mut Deffunction ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetDeffunctionNamePointer ( arg1 : * mut Environment , arg2 : * mut Deffunction ) -> * mut CLIPSLexeme ; } extern "C" { pub fn DeffunctionPPForm ( arg1 : * mut Deffunction ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetNextDeffunction ( arg1 : * mut Environment , arg2 : * mut Deffunction ) -> * mut Deffunction ; } extern "C" { pub fn DeffunctionIsDeletable ( arg1 : * mut Deffunction ) -> bool ; } extern "C" { pub fn SetDeffunctionPPForm ( arg1 : * mut Environment , arg2 : * mut Deffunction , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn Undeffunction ( arg1 : * mut Deffunction , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn GetDeffunctionListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDeffunctionModuleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn LookupDeffunctionByMdlOrScope ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Deffunction ; } extern "C" { pub fn LookupDeffunctionInScope ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Deffunction ; } extern "C" { pub fn RemoveDeffunction ( arg1 : * mut Environment , arg2 : * mut Deffunction ) ; } extern "C" { pub fn SetupDeffunctions ( arg1 : * mut Environment ) ; } extern "C" { pub fn UndeffunctionCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeffunctionGetWatch ( arg1 : * mut Deffunction ) -> bool ; } extern "C" { pub fn ListDeffunctions ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DeffunctionSetWatch ( arg1 : * mut Deffunction , arg2 : bool ) ; } extern "C" { pub fn ListDeffunctionsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDeffunctionCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } pub type DEFGENERIC_MODULE = defgenericModule ; pub type RESTRICTION = restriction ; pub type Defmethod = defmethod ; pub type Defgeneric = defgeneric ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defgenericModule { pub header : defmoduleItemHeader , } # [ test ] fn bindgen_test_layout_defgenericModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defgenericModule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( defgenericModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defgenericModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defgenericModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericModule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defgenericModule ) , "::" , stringify ! ( header ) ) ) ; } impl Default for defgenericModule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct restriction { pub types : * mut * mut :: std :: os :: raw :: c_void , pub query : * mut Expression , pub tcnt : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_restriction ( ) { assert_eq ! ( :: std :: mem :: size_of :: < restriction > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( restriction ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < restriction > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( restriction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < restriction > ( ) ) ) . types as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( restriction ) , "::" , stringify ! ( types ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < restriction > ( ) ) ) . query as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( restriction ) , "::" , stringify ! ( query ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < restriction > ( ) ) ) . tcnt as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( restriction ) , "::" , stringify ! ( tcnt ) ) ) ; } impl Default for restriction { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defmethod { pub header : ConstructHeader , pub index : :: std :: os :: raw :: c_ushort , pub busy : :: std :: os :: raw :: c_uint , pub restrictionCount : :: std :: os :: raw :: c_ushort , pub minRestrictions : :: std :: os :: raw :: c_ushort , pub maxRestrictions : :: std :: os :: raw :: c_ushort , pub localVarCount : :: std :: os :: raw :: c_ushort , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub restrictions : * mut RESTRICTION , pub actions : * mut Expression , } # [ test ] fn bindgen_test_layout_defmethod ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defmethod > ( ) , 104usize , concat ! ( "Size of: " , stringify ! ( defmethod ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defmethod > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defmethod ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . index as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( index ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . busy as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( busy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . restrictionCount as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( restrictionCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . minRestrictions as * const _ as usize } , 74usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( minRestrictions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . maxRestrictions as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( maxRestrictions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . localVarCount as * const _ as usize } , 78usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( localVarCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . restrictions as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( restrictions ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmethod > ( ) ) ) . actions as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( defmethod ) , "::" , stringify ! ( actions ) ) ) ; } impl Default for defmethod { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl defmethod { # [ inline ] pub fn system ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_system ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn trace ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_trace ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( system : :: std :: os :: raw :: c_uint , trace : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let system : u32 = unsafe { :: std :: mem :: transmute ( system ) } ; system as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let trace : u32 = unsafe { :: std :: mem :: transmute ( trace ) } ; trace as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defgeneric { pub header : ConstructHeader , pub busy : :: std :: os :: raw :: c_uint , pub trace : bool , pub methods : * mut Defmethod , pub mcnt : :: std :: os :: raw :: c_ushort , pub new_index : :: std :: os :: raw :: c_ushort , } # [ test ] fn bindgen_test_layout_defgeneric ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defgeneric > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( defgeneric ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defgeneric > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defgeneric ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgeneric > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defgeneric ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgeneric > ( ) ) ) . busy as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( defgeneric ) , "::" , stringify ! ( busy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgeneric > ( ) ) ) . trace as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( defgeneric ) , "::" , stringify ! ( trace ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgeneric > ( ) ) ) . methods as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( defgeneric ) , "::" , stringify ! ( methods ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgeneric > ( ) ) ) . mcnt as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( defgeneric ) , "::" , stringify ! ( mcnt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgeneric > ( ) ) ) . new_index as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( defgeneric ) , "::" , stringify ! ( new_index ) ) ) ; } impl Default for defgeneric { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defgenericData { pub DefgenericConstruct : * mut Construct , pub DefgenericModuleIndex : :: std :: os :: raw :: c_uint , pub GenericEntityRecord : EntityRecord , pub WatchGenerics : bool , pub WatchMethods : bool , pub CurrentGeneric : * mut Defgeneric , pub CurrentMethod : * mut Defmethod , pub GenericCurrentArgument : * mut UDFValue , pub OldGenericBusySave : :: std :: os :: raw :: c_uint , pub DefgenericCodeItem : * mut CodeGeneratorItem , } # [ test ] fn bindgen_test_layout_defgenericData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defgenericData > ( ) , 176usize , concat ! ( "Size of: " , stringify ! ( defgenericData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defgenericData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defgenericData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . DefgenericConstruct as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( DefgenericConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . DefgenericModuleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( DefgenericModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . GenericEntityRecord as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( GenericEntityRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . WatchGenerics as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( WatchGenerics ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . WatchMethods as * const _ as usize } , 129usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( WatchMethods ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . CurrentGeneric as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( CurrentGeneric ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . CurrentMethod as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( CurrentMethod ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . GenericCurrentArgument as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( GenericCurrentArgument ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . OldGenericBusySave as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( OldGenericBusySave ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defgenericData > ( ) ) ) . DefgenericCodeItem as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( defgenericData ) , "::" , stringify ! ( DefgenericCodeItem ) ) ) ; } impl Default for defgenericData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn ClearDefgenericsReady ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn AllocateDefgenericModule ( arg1 : * mut Environment ) -> * mut :: std :: os :: raw :: c_void ; } extern "C" { pub fn FreeDefgenericModule ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn ClearDefmethods ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn RemoveAllExplicitMethods ( arg1 : * mut Environment , arg2 : * mut Defgeneric ) -> bool ; } extern "C" { pub fn RemoveDefgeneric ( arg1 : * mut Environment , arg2 : * mut Defgeneric ) ; } extern "C" { pub fn ClearDefgenerics ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn MethodAlterError ( arg1 : * mut Environment , arg2 : * mut Defgeneric ) ; } extern "C" { pub fn DeleteMethodInfo ( arg1 : * mut Environment , arg2 : * mut Defgeneric , arg3 : * mut Defmethod ) ; } extern "C" { pub fn DestroyMethodInfo ( arg1 : * mut Environment , arg2 : * mut Defgeneric , arg3 : * mut Defmethod ) ; } extern "C" { pub fn MethodsExecuting ( arg1 : * mut Defgeneric ) -> bool ; } extern "C" { pub fn FindMethodByIndex ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn PrintMethod ( arg1 : * mut Environment , arg2 : * mut Defmethod , arg3 : * mut StringBuilder ) ; } extern "C" { pub fn PreviewGeneric ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CheckGenericExists ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut Defgeneric ; } extern "C" { pub fn CheckMethodExists ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defgeneric , arg4 : :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn PrintGenericName ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defgeneric ) ; } extern "C" { pub fn SetupGenericFunctions ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindDefgeneric ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defgeneric ; } extern "C" { pub fn FindDefgenericInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defgeneric ; } extern "C" { pub fn LookupDefgenericByMdlOrScope ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defgeneric ; } extern "C" { pub fn LookupDefgenericInScope ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defgeneric ; } extern "C" { pub fn GetNextDefgeneric ( arg1 : * mut Environment , arg2 : * mut Defgeneric ) -> * mut Defgeneric ; } extern "C" { pub fn GetNextDefmethod ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort ) -> :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn DefgenericIsDeletable ( arg1 : * mut Defgeneric ) -> bool ; } extern "C" { pub fn DefmethodIsDeletable ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort ) -> bool ; } extern "C" { pub fn UndefgenericCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefgenericModuleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn UndefmethodCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefmethodPointer ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_long ) -> * mut Defmethod ; } extern "C" { pub fn Undefgeneric ( arg1 : * mut Defgeneric , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn Undefmethod ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort , arg3 : * mut Environment ) -> bool ; } extern "C" { pub fn DefmethodDescription ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort , arg3 : * mut StringBuilder ) ; } extern "C" { pub fn DefgenericGetWatch ( arg1 : * mut Defgeneric ) -> bool ; } extern "C" { pub fn DefgenericSetWatch ( arg1 : * mut Defgeneric , arg2 : bool ) ; } extern "C" { pub fn DefmethodGetWatch ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort ) -> bool ; } extern "C" { pub fn DefmethodSetWatch ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort , arg3 : bool ) ; } extern "C" { pub fn PPDefgenericCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDefmethodCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefmethodsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DefmethodPPForm ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn ListDefgenericsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefgenerics ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } extern "C" { pub fn ListDefmethods ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defgeneric ) ; } extern "C" { pub fn GetDefgenericListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefgenericList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn GetDefmethodListCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefmethodList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defgeneric ) ; } extern "C" { pub fn GetMethodRestrictionsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetMethodRestrictions ( arg1 : * mut Defgeneric , arg2 : :: std :: os :: raw :: c_ushort , arg3 : * mut CLIPSValue ) ; } extern "C" { pub fn SetNextDefgeneric ( arg1 : * mut Defgeneric , arg2 : * mut Defgeneric ) ; } extern "C" { pub fn DefgenericModule ( arg1 : * mut Defgeneric ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefgenericName ( arg1 : * mut Defgeneric ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefgenericPPForm ( arg1 : * mut Defgeneric ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetDefgenericNamePointer ( arg1 : * mut Defgeneric ) -> * mut CLIPSLexeme ; } extern "C" { pub fn SetDefgenericPPForm ( arg1 : * mut Environment , arg2 : * mut Defgeneric , arg3 : * const :: std :: os :: raw :: c_char ) ; } pub const ClassDefaultsMode_CONVENIENCE_MODE : ClassDefaultsMode = 0 ; pub const ClassDefaultsMode_CONSERVATION_MODE : ClassDefaultsMode = 1 ; pub type ClassDefaultsMode = u32 ; pub type DEFCLASS_MODULE = defclassModule ; pub type Defclass = defclass ; pub type PACKED_CLASS_LINKS = packedClassLinks ; pub type CLASS_LINK = classLink ; pub type SLOT_NAME = slotName ; pub type SlotDescriptor = slotDescriptor ; pub type DefmessageHandler = defmessageHandler ; pub type InstanceSlot = instanceSlot ; pub type InstanceBuilder = instanceBuilder ; pub type InstanceModifier = instanceModifier ; pub type MultifieldBuilder = multifieldBuilder ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct multifieldBuilder { pub mbEnv : * mut Environment , pub contents : * mut CLIPSValue , pub bufferReset : size_t , pub length : size_t , pub bufferMaximum : size_t , } # [ test ] fn bindgen_test_layout_multifieldBuilder ( ) { assert_eq ! ( :: std :: mem :: size_of :: < multifieldBuilder > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( multifieldBuilder ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < multifieldBuilder > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( multifieldBuilder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldBuilder > ( ) ) ) . mbEnv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( multifieldBuilder ) , "::" , stringify ! ( mbEnv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldBuilder > ( ) ) ) . contents as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( multifieldBuilder ) , "::" , stringify ! ( contents ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldBuilder > ( ) ) ) . bufferReset as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( multifieldBuilder ) , "::" , stringify ! ( bufferReset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldBuilder > ( ) ) ) . length as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( multifieldBuilder ) , "::" , stringify ! ( length ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < multifieldBuilder > ( ) ) ) . bufferMaximum as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( multifieldBuilder ) , "::" , stringify ! ( bufferMaximum ) ) ) ; } impl Default for multifieldBuilder { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn CreateUnmanagedMultifield ( arg1 : * mut Environment , arg2 : size_t ) -> * mut Multifield ; } extern "C" { pub fn ReturnMultifield ( arg1 : * mut Environment , arg2 : * mut Multifield ) ; } extern "C" { pub fn RetainMultifield ( arg1 : * mut Environment , arg2 : * mut Multifield ) ; } extern "C" { pub fn ReleaseMultifield ( arg1 : * mut Environment , arg2 : * mut Multifield ) ; } extern "C" { pub fn IncrementCLIPSValueMultifieldReferenceCount ( arg1 : * mut Environment , arg2 : * mut Multifield ) ; } extern "C" { pub fn DecrementCLIPSValueMultifieldReferenceCount ( arg1 : * mut Environment , arg2 : * mut Multifield ) ; } extern "C" { pub fn StringToMultifield ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Multifield ; } extern "C" { pub fn CreateMultifield ( arg1 : * mut Environment , arg2 : size_t ) -> * mut Multifield ; } extern "C" { pub fn AddToMultifieldList ( arg1 : * mut Environment , arg2 : * mut Multifield ) ; } extern "C" { pub fn FlushMultifields ( arg1 : * mut Environment ) ; } extern "C" { pub fn DuplicateMultifield ( arg1 : * mut Environment , arg2 : * mut UDFValue , arg3 : * mut UDFValue ) ; } extern "C" { pub fn WriteMultifield ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Multifield ) ; } extern "C" { pub fn PrintMultifieldDriver ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Multifield , arg4 : size_t , arg5 : size_t , arg6 : bool ) ; } extern "C" { pub fn MultifieldDOsEqual ( arg1 : * mut UDFValue , arg2 : * mut UDFValue ) -> bool ; } extern "C" { pub fn StoreInMultifield ( arg1 : * mut Environment , arg2 : * mut UDFValue , arg3 : * mut Expression , arg4 : bool ) ; } extern "C" { pub fn CopyMultifield ( arg1 : * mut Environment , arg2 : * mut Multifield ) -> * mut Multifield ; } extern "C" { pub fn MultifieldsEqual ( arg1 : * mut Multifield , arg2 : * mut Multifield ) -> bool ; } extern "C" { pub fn DOToMultifield ( arg1 : * mut Environment , arg2 : * mut UDFValue ) -> * mut Multifield ; } extern "C" { pub fn HashMultifield ( arg1 : * mut Multifield , arg2 : size_t ) -> size_t ; } extern "C" { pub fn GetMultifieldList ( arg1 : * mut Environment ) -> * mut Multifield ; } extern "C" { pub fn ImplodeMultifield ( arg1 : * mut Environment , arg2 : * mut UDFValue ) -> * mut CLIPSLexeme ; } extern "C" { pub fn EphemerateMultifield ( arg1 : * mut Environment , arg2 : * mut Multifield ) ; } extern "C" { pub fn ArrayToMultifield ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : :: std :: os :: raw :: c_ulong ) -> * mut Multifield ; } extern "C" { pub fn NormalizeMultifield ( arg1 : * mut Environment , arg2 : * mut UDFValue ) ; } extern "C" { pub fn CLIPSToUDFValue ( arg1 : * mut CLIPSValue , arg2 : * mut UDFValue ) ; } extern "C" { pub fn UDFToCLIPSValue ( arg1 : * mut Environment , arg2 : * mut UDFValue , arg3 : * mut CLIPSValue ) ; } extern "C" { pub fn CreateMultifieldBuilder ( arg1 : * mut Environment , arg2 : size_t ) -> * mut MultifieldBuilder ; } extern "C" { pub fn MBReset ( arg1 : * mut MultifieldBuilder ) ; } extern "C" { pub fn MBDispose ( arg1 : * mut MultifieldBuilder ) ; } extern "C" { pub fn MBAppend ( theMB : * mut MultifieldBuilder , arg1 : * mut CLIPSValue ) ; } extern "C" { pub fn MBCreate ( arg1 : * mut MultifieldBuilder ) -> * mut Multifield ; } extern "C" { pub fn EmptyMultifield ( arg1 : * mut Environment ) -> * mut Multifield ; } extern "C" { pub fn MBAppendCLIPSInteger ( arg1 : * mut MultifieldBuilder , arg2 : * mut CLIPSInteger ) ; } extern "C" { pub fn MBAppendInteger ( arg1 : * mut MultifieldBuilder , arg2 : :: std :: os :: raw :: c_longlong ) ; } extern "C" { pub fn MBAppendCLIPSFloat ( arg1 : * mut MultifieldBuilder , arg2 : * mut CLIPSFloat ) ; } extern "C" { pub fn MBAppendFloat ( arg1 : * mut MultifieldBuilder , arg2 : f64 ) ; } extern "C" { pub fn MBAppendCLIPSLexeme ( arg1 : * mut MultifieldBuilder , arg2 : * mut CLIPSLexeme ) ; } extern "C" { pub fn MBAppendSymbol ( arg1 : * mut MultifieldBuilder , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn MBAppendString ( arg1 : * mut MultifieldBuilder , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn MBAppendInstanceName ( arg1 : * mut MultifieldBuilder , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn MBAppendCLIPSExternalAddress ( arg1 : * mut MultifieldBuilder , arg2 : * mut CLIPSExternalAddress ) ; } extern "C" { pub fn MBAppendFact ( arg1 : * mut MultifieldBuilder , arg2 : * mut Fact ) ; } extern "C" { pub fn MBAppendInstance ( arg1 : * mut MultifieldBuilder , arg2 : * mut Instance ) ; } extern "C" { pub fn MBAppendMultifield ( arg1 : * mut MultifieldBuilder , arg2 : * mut Multifield ) ; } extern "C" { pub fn MBAppendUDFValue ( theMB : * mut MultifieldBuilder , arg1 : * mut UDFValue ) ; } pub type OBJECT_ALPHA_NODE = objectAlphaNode ; pub type CLASS_ALPHA_LINK = classAlphaLink ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct classBitMap { pub maxid : :: std :: os :: raw :: c_ushort , pub map : [ :: std :: os :: raw :: c_char ; 1usize ] , } # [ test ] fn bindgen_test_layout_classBitMap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < classBitMap > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( classBitMap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < classBitMap > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( classBitMap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < classBitMap > ( ) ) ) . maxid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( classBitMap ) , "::" , stringify ! ( maxid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < classBitMap > ( ) ) ) . map as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( classBitMap ) , "::" , stringify ! ( map ) ) ) ; } pub type CLASS_BITMAP = classBitMap ; # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct slotBitMap { pub maxid : :: std :: os :: raw :: c_ushort , pub map : [ :: std :: os :: raw :: c_char ; 1usize ] , } # [ test ] fn bindgen_test_layout_slotBitMap ( ) { assert_eq ! ( :: std :: mem :: size_of :: < slotBitMap > ( ) , 4usize , concat ! ( "Size of: " , stringify ! ( slotBitMap ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < slotBitMap > ( ) , 2usize , concat ! ( "Alignment of " , stringify ! ( slotBitMap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotBitMap > ( ) ) ) . maxid as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( slotBitMap ) , "::" , stringify ! ( maxid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotBitMap > ( ) ) ) . map as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( slotBitMap ) , "::" , stringify ! ( map ) ) ) ; } pub type SLOT_BITMAP = slotBitMap ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct objectPatternNode { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 2usize ] , u8 > , pub leaveFields : :: std :: os :: raw :: c_ushort , pub matchTimeTag : :: std :: os :: raw :: c_ulonglong , pub slotNameID : :: std :: os :: raw :: c_ushort , pub networkTest : * mut Expression , pub nextLevel : * mut objectPatternNode , pub lastLevel : * mut objectPatternNode , pub leftNode : * mut objectPatternNode , pub rightNode : * mut objectPatternNode , pub alphaNode : * mut OBJECT_ALPHA_NODE , pub bsaveID : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_objectPatternNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < objectPatternNode > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( objectPatternNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < objectPatternNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( objectPatternNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . leaveFields as * const _ as usize } , 2usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( leaveFields ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . matchTimeTag as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( matchTimeTag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . slotNameID as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( slotNameID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . networkTest as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( networkTest ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . nextLevel as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( nextLevel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . lastLevel as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( lastLevel ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . leftNode as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( leftNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . rightNode as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( rightNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . alphaNode as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( alphaNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectPatternNode > ( ) ) ) . bsaveID as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( objectPatternNode ) , "::" , stringify ! ( bsaveID ) ) ) ; } impl Default for objectPatternNode { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl objectPatternNode { # [ inline ] pub fn blocked ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_blocked ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn multifieldNode ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_multifieldNode ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn endSlot ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_endSlot ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn selector ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_selector ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn whichField ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 8u8 ) as u32 ) } } # [ inline ] pub fn set_whichField ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 8u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( blocked : :: std :: os :: raw :: c_uint , multifieldNode : :: std :: os :: raw :: c_uint , endSlot : :: std :: os :: raw :: c_uint , selector : :: std :: os :: raw :: c_uint , whichField : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 2usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 2usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let blocked : u32 = unsafe { :: std :: mem :: transmute ( blocked ) } ; blocked as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let multifieldNode : u32 = unsafe { :: std :: mem :: transmute ( multifieldNode ) } ; multifieldNode as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let endSlot : u32 = unsafe { :: std :: mem :: transmute ( endSlot ) } ; endSlot as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let selector : u32 = unsafe { :: std :: mem :: transmute ( selector ) } ; selector as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 8u8 , { let whichField : u32 = unsafe { :: std :: mem :: transmute ( whichField ) } ; whichField as u64 } ) ; __bindgen_bitfield_unit } } pub type OBJECT_PATTERN_NODE = objectPatternNode ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct objectAlphaNode { pub header : patternNodeHeader , pub matchTimeTag : :: std :: os :: raw :: c_ulonglong , pub classbmp : * mut CLIPSBitMap , pub slotbmp : * mut CLIPSBitMap , pub patternNode : * mut OBJECT_PATTERN_NODE , pub nxtInGroup : * mut objectAlphaNode , pub nxtTerminal : * mut objectAlphaNode , pub bsaveID : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_objectAlphaNode ( ) { assert_eq ! ( :: std :: mem :: size_of :: < objectAlphaNode > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( objectAlphaNode ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < objectAlphaNode > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( objectAlphaNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectAlphaNode > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( objectAlphaNode ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectAlphaNode > ( ) ) ) . matchTimeTag as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( objectAlphaNode ) , "::" , stringify ! ( matchTimeTag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectAlphaNode > ( ) ) ) . classbmp as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( objectAlphaNode ) , "::" , stringify ! ( classbmp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectAlphaNode > ( ) ) ) . slotbmp as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( objectAlphaNode ) , "::" , stringify ! ( slotbmp ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectAlphaNode > ( ) ) ) . patternNode as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( objectAlphaNode ) , "::" , stringify ! ( patternNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectAlphaNode > ( ) ) ) . nxtInGroup as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( objectAlphaNode ) , "::" , stringify ! ( nxtInGroup ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectAlphaNode > ( ) ) ) . nxtTerminal as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( objectAlphaNode ) , "::" , stringify ! ( nxtTerminal ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectAlphaNode > ( ) ) ) . bsaveID as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( objectAlphaNode ) , "::" , stringify ! ( bsaveID ) ) ) ; } impl Default for objectAlphaNode { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct classAlphaLink { pub alphaNode : * mut OBJECT_ALPHA_NODE , pub next : * mut classAlphaLink , pub bsaveID : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_classAlphaLink ( ) { assert_eq ! ( :: std :: mem :: size_of :: < classAlphaLink > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( classAlphaLink ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < classAlphaLink > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( classAlphaLink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < classAlphaLink > ( ) ) ) . alphaNode as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( classAlphaLink ) , "::" , stringify ! ( alphaNode ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < classAlphaLink > ( ) ) ) . next as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( classAlphaLink ) , "::" , stringify ! ( next ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < classAlphaLink > ( ) ) ) . bsaveID as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( classAlphaLink ) , "::" , stringify ! ( bsaveID ) ) ) ; } impl Default for classAlphaLink { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct objectMatchAction { pub type_ : :: std :: os :: raw :: c_int , pub ins : * mut Instance , pub slotNameIDs : * mut SLOT_BITMAP , pub nxt : * mut objectMatchAction , } # [ test ] fn bindgen_test_layout_objectMatchAction ( ) { assert_eq ! ( :: std :: mem :: size_of :: < objectMatchAction > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( objectMatchAction ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < objectMatchAction > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( objectMatchAction ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectMatchAction > ( ) ) ) . type_ as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( objectMatchAction ) , "::" , stringify ! ( type_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectMatchAction > ( ) ) ) . ins as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( objectMatchAction ) , "::" , stringify ! ( ins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectMatchAction > ( ) ) ) . slotNameIDs as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( objectMatchAction ) , "::" , stringify ! ( slotNameIDs ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < objectMatchAction > ( ) ) ) . nxt as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( objectMatchAction ) , "::" , stringify ! ( nxt ) ) ) ; } impl Default for objectMatchAction { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type OBJECT_MATCH_ACTION = objectMatchAction ; extern "C" { pub fn ObjectMatchDelay ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetDelayObjectPatternMatching ( arg1 : * mut Environment , arg2 : bool ) -> bool ; } extern "C" { pub fn GetDelayObjectPatternMatching ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn ObjectNetworkPointer ( arg1 : * mut Environment ) -> * mut OBJECT_PATTERN_NODE ; } extern "C" { pub fn ObjectNetworkTerminalPointer ( arg1 : * mut Environment ) -> * mut OBJECT_ALPHA_NODE ; } extern "C" { pub fn SetObjectNetworkPointer ( arg1 : * mut Environment , arg2 : * mut OBJECT_PATTERN_NODE ) ; } extern "C" { pub fn SetObjectNetworkTerminalPointer ( arg1 : * mut Environment , arg2 : * mut OBJECT_ALPHA_NODE ) ; } extern "C" { pub fn ObjectNetworkAction ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : * mut Instance , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn ResetObjectMatchTimeTags ( arg1 : * mut Environment ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct packedClassLinks { pub classCount : :: std :: os :: raw :: c_ulong , pub classArray : * mut * mut Defclass , } # [ test ] fn bindgen_test_layout_packedClassLinks ( ) { assert_eq ! ( :: std :: mem :: size_of :: < packedClassLinks > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( packedClassLinks ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < packedClassLinks > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( packedClassLinks ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < packedClassLinks > ( ) ) ) . classCount as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( packedClassLinks ) , "::" , stringify ! ( classCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < packedClassLinks > ( ) ) ) . classArray as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( packedClassLinks ) , "::" , stringify ! ( classArray ) ) ) ; } impl Default for packedClassLinks { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defclassModule { pub header : defmoduleItemHeader , } # [ test ] fn bindgen_test_layout_defclassModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defclassModule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( defclassModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defclassModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defclassModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassModule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defclassModule ) , "::" , stringify ! ( header ) ) ) ; } impl Default for defclassModule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defclass { pub header : ConstructHeader , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub id : :: std :: os :: raw :: c_ushort , pub busy : :: std :: os :: raw :: c_uint , pub hashTableIndex : :: std :: os :: raw :: c_uint , pub directSuperclasses : PACKED_CLASS_LINKS , pub directSubclasses : PACKED_CLASS_LINKS , pub allSuperclasses : PACKED_CLASS_LINKS , pub slots : * mut SlotDescriptor , pub instanceTemplate : * mut * mut SlotDescriptor , pub slotNameMap : * mut :: std :: os :: raw :: c_uint , pub slotCount : :: std :: os :: raw :: c_ushort , pub localInstanceSlotCount : :: std :: os :: raw :: c_ushort , pub instanceSlotCount : :: std :: os :: raw :: c_ushort , pub maxSlotNameID : :: std :: os :: raw :: c_ushort , pub instanceList : * mut Instance , pub instanceListBottom : * mut Instance , pub handlers : * mut DefmessageHandler , pub handlerOrderMap : * mut :: std :: os :: raw :: c_uint , pub handlerCount : :: std :: os :: raw :: c_ushort , pub nxtHash : * mut Defclass , pub scopeMap : * mut CLIPSBitMap , pub relevant_terminal_alpha_nodes : * mut CLASS_ALPHA_LINK , pub traversalRecord : [ :: std :: os :: raw :: c_char ; 32usize ] , } # [ test ] fn bindgen_test_layout_defclass ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defclass > ( ) , 256usize , concat ! ( "Size of: " , stringify ! ( defclass ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defclass > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defclass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . id as * const _ as usize } , 66usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . busy as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( busy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . hashTableIndex as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( hashTableIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . directSuperclasses as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( directSuperclasses ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . directSubclasses as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( directSubclasses ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . allSuperclasses as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( allSuperclasses ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . slots as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( slots ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . instanceTemplate as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( instanceTemplate ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . slotNameMap as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( slotNameMap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . slotCount as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( slotCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . localInstanceSlotCount as * const _ as usize } , 154usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( localInstanceSlotCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . instanceSlotCount as * const _ as usize } , 156usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( instanceSlotCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . maxSlotNameID as * const _ as usize } , 158usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( maxSlotNameID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . instanceList as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( instanceList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . instanceListBottom as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( instanceListBottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . handlers as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( handlers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . handlerOrderMap as * const _ as usize } , 184usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( handlerOrderMap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . handlerCount as * const _ as usize } , 192usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( handlerCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . nxtHash as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( nxtHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . scopeMap as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( scopeMap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . relevant_terminal_alpha_nodes as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( relevant_terminal_alpha_nodes ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclass > ( ) ) ) . traversalRecord as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( defclass ) , "::" , stringify ! ( traversalRecord ) ) ) ; } impl Default for defclass { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl defclass { # [ inline ] pub fn installed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_installed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn system ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_system ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn abstract_ ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_abstract ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn reactive ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_reactive ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn traceInstances ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_traceInstances ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn traceSlots ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_traceSlots ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( installed : :: std :: os :: raw :: c_uint , system : :: std :: os :: raw :: c_uint , abstract_ : :: std :: os :: raw :: c_uint , reactive : :: std :: os :: raw :: c_uint , traceInstances : :: std :: os :: raw :: c_uint , traceSlots : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let installed : u32 = unsafe { :: std :: mem :: transmute ( installed ) } ; installed as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let system : u32 = unsafe { :: std :: mem :: transmute ( system ) } ; system as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let abstract_ : u32 = unsafe { :: std :: mem :: transmute ( abstract_ ) } ; abstract_ as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let reactive : u32 = unsafe { :: std :: mem :: transmute ( reactive ) } ; reactive as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let traceInstances : u32 = unsafe { :: std :: mem :: transmute ( traceInstances ) } ; traceInstances as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let traceSlots : u32 = unsafe { :: std :: mem :: transmute ( traceSlots ) } ; traceSlots as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct classLink { pub cls : * mut Defclass , pub nxt : * mut classLink , } # [ test ] fn bindgen_test_layout_classLink ( ) { assert_eq ! ( :: std :: mem :: size_of :: < classLink > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( classLink ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < classLink > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( classLink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < classLink > ( ) ) ) . cls as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( classLink ) , "::" , stringify ! ( cls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < classLink > ( ) ) ) . nxt as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( classLink ) , "::" , stringify ! ( nxt ) ) ) ; } impl Default for classLink { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct slotName { pub hashTableIndex : :: std :: os :: raw :: c_uint , pub use_ : :: std :: os :: raw :: c_uint , pub id : :: std :: os :: raw :: c_ushort , pub name : * mut CLIPSLexeme , pub putHandlerName : * mut CLIPSLexeme , pub nxt : * mut slotName , pub bsaveIndex : :: std :: os :: raw :: c_ulong , } # [ test ] fn bindgen_test_layout_slotName ( ) { assert_eq ! ( :: std :: mem :: size_of :: < slotName > ( ) , 48usize , concat ! ( "Size of: " , stringify ! ( slotName ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < slotName > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( slotName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotName > ( ) ) ) . hashTableIndex as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( slotName ) , "::" , stringify ! ( hashTableIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotName > ( ) ) ) . use_ as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( slotName ) , "::" , stringify ! ( use_ ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotName > ( ) ) ) . id as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( slotName ) , "::" , stringify ! ( id ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotName > ( ) ) ) . name as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( slotName ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotName > ( ) ) ) . putHandlerName as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( slotName ) , "::" , stringify ! ( putHandlerName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotName > ( ) ) ) . nxt as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( slotName ) , "::" , stringify ! ( nxt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotName > ( ) ) ) . bsaveIndex as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( slotName ) , "::" , stringify ! ( bsaveIndex ) ) ) ; } impl Default for slotName { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct instanceSlot { pub desc : * mut SlotDescriptor , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub type_ : :: std :: os :: raw :: c_ushort , pub __bindgen_anon_1 : instanceSlot__bindgen_ty_1 , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union instanceSlot__bindgen_ty_1 { pub value : * mut :: std :: os :: raw :: c_void , pub header : * mut TypeHeader , pub lexemeValue : * mut CLIPSLexeme , pub floatValue : * mut CLIPSFloat , pub integerValue : * mut CLIPSInteger , pub voidValue : * mut CLIPSVoid , pub factValue : * mut Fact , pub instanceValue : * mut Instance , pub multifieldValue : * mut Multifield , pub externalAddressValue : * mut CLIPSExternalAddress , _bindgen_union_align : u64 , } # [ test ] fn bindgen_test_layout_instanceSlot__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < instanceSlot__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Size of: " , stringify ! ( instanceSlot__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < instanceSlot__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( instanceSlot__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . value as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( value ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . lexemeValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( lexemeValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . floatValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( floatValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . integerValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( integerValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . voidValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( voidValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . factValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( factValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . instanceValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( instanceValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . multifieldValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( multifieldValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot__bindgen_ty_1 > ( ) ) ) . externalAddressValue as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot__bindgen_ty_1 ) , "::" , stringify ! ( externalAddressValue ) ) ) ; } impl Default for instanceSlot__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for instanceSlot__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "instanceSlot__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_instanceSlot ( ) { assert_eq ! ( :: std :: mem :: size_of :: < instanceSlot > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( instanceSlot ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < instanceSlot > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( instanceSlot ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot > ( ) ) ) . desc as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot ) , "::" , stringify ! ( desc ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceSlot > ( ) ) ) . type_ as * const _ as usize } , 10usize , concat ! ( "Offset of field: " , stringify ! ( instanceSlot ) , "::" , stringify ! ( type_ ) ) ) ; } impl Default for instanceSlot { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for instanceSlot { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "instanceSlot {{ desc: {:?}, valueRequired : {:?}, override : {:?}, type: {:?}, __bindgen_anon_1: {:?} }}" , self . desc , self . valueRequired ( ) , self . override_ ( ) , self . type_ , self . __bindgen_anon_1 ) } } impl instanceSlot { # [ inline ] pub fn valueRequired ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_valueRequired ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn override_ ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_override ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( valueRequired : :: std :: os :: raw :: c_uint , override_ : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let valueRequired : u32 = unsafe { :: std :: mem :: transmute ( valueRequired ) } ; valueRequired as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let override_ : u32 = unsafe { :: std :: mem :: transmute ( override_ ) } ; override_ as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct slotDescriptor { pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 2usize ] , u8 > , pub cls : * mut Defclass , pub slotName : * mut SLOT_NAME , pub overrideMessage : * mut CLIPSLexeme , pub defaultValue : * mut :: std :: os :: raw :: c_void , pub constraint : * mut CONSTRAINT_RECORD , pub sharedCount : :: std :: os :: raw :: c_uint , pub bsaveIndex : :: std :: os :: raw :: c_ulong , pub sharedValue : InstanceSlot , } # [ test ] fn bindgen_test_layout_slotDescriptor ( ) { assert_eq ! ( :: std :: mem :: size_of :: < slotDescriptor > ( ) , 88usize , concat ! ( "Size of: " , stringify ! ( slotDescriptor ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < slotDescriptor > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( slotDescriptor ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotDescriptor > ( ) ) ) . cls as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( slotDescriptor ) , "::" , stringify ! ( cls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotDescriptor > ( ) ) ) . slotName as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( slotDescriptor ) , "::" , stringify ! ( slotName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotDescriptor > ( ) ) ) . overrideMessage as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( slotDescriptor ) , "::" , stringify ! ( overrideMessage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotDescriptor > ( ) ) ) . defaultValue as * const _ as usize } , 32usize , concat ! ( "Offset of field: " , stringify ! ( slotDescriptor ) , "::" , stringify ! ( defaultValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotDescriptor > ( ) ) ) . constraint as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( slotDescriptor ) , "::" , stringify ! ( constraint ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotDescriptor > ( ) ) ) . sharedCount as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( slotDescriptor ) , "::" , stringify ! ( sharedCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotDescriptor > ( ) ) ) . bsaveIndex as * const _ as usize } , 56usize , concat ! ( "Offset of field: " , stringify ! ( slotDescriptor ) , "::" , stringify ! ( bsaveIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < slotDescriptor > ( ) ) ) . sharedValue as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( slotDescriptor ) , "::" , stringify ! ( sharedValue ) ) ) ; } impl Default for slotDescriptor { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for slotDescriptor { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "slotDescriptor {{ shared : {:?}, multiple : {:?}, composite : {:?}, noInherit : {:?}, noWrite : {:?}, initializeOnly : {:?}, dynamicDefault : {:?}, defaultSpecified : {:?}, noDefault : {:?}, reactive : {:?}, publicVisibility : {:?}, createReadAccessor : {:?}, createWriteAccessor : {:?}, overrideMessageSpecified : {:?}, cls: {:?}, slotName: {:?}, overrideMessage: {:?}, defaultValue: {:?}, constraint: {:?}, sharedCount: {:?}, bsaveIndex: {:?}, sharedValue: {:?} }}" , self . shared ( ) , self . multiple ( ) , self . composite ( ) , self . noInherit ( ) , self . noWrite ( ) , self . initializeOnly ( ) , self . dynamicDefault ( ) , self . defaultSpecified ( ) , self . noDefault ( ) , self . reactive ( ) , self . publicVisibility ( ) , self . createReadAccessor ( ) , self . createWriteAccessor ( ) , self . overrideMessageSpecified ( ) , self . cls , self . slotName , self . overrideMessage , self . defaultValue , self . constraint , self . sharedCount , self . bsaveIndex , self . sharedValue ) } } impl slotDescriptor { # [ inline ] pub fn shared ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_shared ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn multiple ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_multiple ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn composite ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_composite ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn noInherit ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_noInherit ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn noWrite ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_noWrite ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn initializeOnly ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 5usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_initializeOnly ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 5usize , 1u8 , val as u64 ) } } # [ inline ] pub fn dynamicDefault ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 6usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_dynamicDefault ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 6usize , 1u8 , val as u64 ) } } # [ inline ] pub fn defaultSpecified ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 7usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_defaultSpecified ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 7usize , 1u8 , val as u64 ) } } # [ inline ] pub fn noDefault ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 8usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_noDefault ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 8usize , 1u8 , val as u64 ) } } # [ inline ] pub fn reactive ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 9usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_reactive ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 9usize , 1u8 , val as u64 ) } } # [ inline ] pub fn publicVisibility ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 10usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_publicVisibility ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 10usize , 1u8 , val as u64 ) } } # [ inline ] pub fn createReadAccessor ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 11usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_createReadAccessor ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 11usize , 1u8 , val as u64 ) } } # [ inline ] pub fn createWriteAccessor ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 12usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_createWriteAccessor ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 12usize , 1u8 , val as u64 ) } } # [ inline ] pub fn overrideMessageSpecified ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 13usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_overrideMessageSpecified ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 13usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( shared : :: std :: os :: raw :: c_uint , multiple : :: std :: os :: raw :: c_uint , composite : :: std :: os :: raw :: c_uint , noInherit : :: std :: os :: raw :: c_uint , noWrite : :: std :: os :: raw :: c_uint , initializeOnly : :: std :: os :: raw :: c_uint , dynamicDefault : :: std :: os :: raw :: c_uint , defaultSpecified : :: std :: os :: raw :: c_uint , noDefault : :: std :: os :: raw :: c_uint , reactive : :: std :: os :: raw :: c_uint , publicVisibility : :: std :: os :: raw :: c_uint , createReadAccessor : :: std :: os :: raw :: c_uint , createWriteAccessor : :: std :: os :: raw :: c_uint , overrideMessageSpecified : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 2usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 2usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let shared : u32 = unsafe { :: std :: mem :: transmute ( shared ) } ; shared as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let multiple : u32 = unsafe { :: std :: mem :: transmute ( multiple ) } ; multiple as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let composite : u32 = unsafe { :: std :: mem :: transmute ( composite ) } ; composite as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let noInherit : u32 = unsafe { :: std :: mem :: transmute ( noInherit ) } ; noInherit as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let noWrite : u32 = unsafe { :: std :: mem :: transmute ( noWrite ) } ; noWrite as u64 } ) ; __bindgen_bitfield_unit . set ( 5usize , 1u8 , { let initializeOnly : u32 = unsafe { :: std :: mem :: transmute ( initializeOnly ) } ; initializeOnly as u64 } ) ; __bindgen_bitfield_unit . set ( 6usize , 1u8 , { let dynamicDefault : u32 = unsafe { :: std :: mem :: transmute ( dynamicDefault ) } ; dynamicDefault as u64 } ) ; __bindgen_bitfield_unit . set ( 7usize , 1u8 , { let defaultSpecified : u32 = unsafe { :: std :: mem :: transmute ( defaultSpecified ) } ; defaultSpecified as u64 } ) ; __bindgen_bitfield_unit . set ( 8usize , 1u8 , { let noDefault : u32 = unsafe { :: std :: mem :: transmute ( noDefault ) } ; noDefault as u64 } ) ; __bindgen_bitfield_unit . set ( 9usize , 1u8 , { let reactive : u32 = unsafe { :: std :: mem :: transmute ( reactive ) } ; reactive as u64 } ) ; __bindgen_bitfield_unit . set ( 10usize , 1u8 , { let publicVisibility : u32 = unsafe { :: std :: mem :: transmute ( publicVisibility ) } ; publicVisibility as u64 } ) ; __bindgen_bitfield_unit . set ( 11usize , 1u8 , { let createReadAccessor : u32 = unsafe { :: std :: mem :: transmute ( createReadAccessor ) } ; createReadAccessor as u64 } ) ; __bindgen_bitfield_unit . set ( 12usize , 1u8 , { let createWriteAccessor : u32 = unsafe { :: std :: mem :: transmute ( createWriteAccessor ) } ; createWriteAccessor as u64 } ) ; __bindgen_bitfield_unit . set ( 13usize , 1u8 , { let overrideMessageSpecified : u32 = unsafe { :: std :: mem :: transmute ( overrideMessageSpecified ) } ; overrideMessageSpecified as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct instance { pub __bindgen_anon_1 : instance__bindgen_ty_1 , pub partialMatchList : * mut :: std :: os :: raw :: c_void , pub basisSlots : * mut InstanceSlot , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub name : * mut CLIPSLexeme , pub hashTableIndex : :: std :: os :: raw :: c_uint , pub busy : :: std :: os :: raw :: c_uint , pub cls : * mut Defclass , pub prvClass : * mut Instance , pub nxtClass : * mut Instance , pub prvHash : * mut Instance , pub nxtHash : * mut Instance , pub prvList : * mut Instance , pub nxtList : * mut Instance , pub slotAddresses : * mut * mut InstanceSlot , pub slots : * mut InstanceSlot , } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub union instance__bindgen_ty_1 { pub patternHeader : patternEntity , pub header : TypeHeader , _bindgen_union_align : [ u64 ; 5usize ] , } # [ test ] fn bindgen_test_layout_instance__bindgen_ty_1 ( ) { assert_eq ! ( :: std :: mem :: size_of :: < instance__bindgen_ty_1 > ( ) , 40usize , concat ! ( "Size of: " , stringify ! ( instance__bindgen_ty_1 ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < instance__bindgen_ty_1 > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( instance__bindgen_ty_1 ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance__bindgen_ty_1 > ( ) ) ) . patternHeader as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instance__bindgen_ty_1 ) , "::" , stringify ! ( patternHeader ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance__bindgen_ty_1 > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instance__bindgen_ty_1 ) , "::" , stringify ! ( header ) ) ) ; } impl Default for instance__bindgen_ty_1 { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for instance__bindgen_ty_1 { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "instance__bindgen_ty_1 {{ union }}" ) } } # [ test ] fn bindgen_test_layout_instance ( ) { assert_eq ! ( :: std :: mem :: size_of :: < instance > ( ) , 152usize , concat ! ( "Size of: " , stringify ! ( instance ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < instance > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( instance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . partialMatchList as * const _ as usize } , 40usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( partialMatchList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . basisSlots as * const _ as usize } , 48usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( basisSlots ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . name as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( name ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . hashTableIndex as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( hashTableIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . busy as * const _ as usize } , 76usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( busy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . cls as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( cls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . prvClass as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( prvClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . nxtClass as * const _ as usize } , 96usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( nxtClass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . prvHash as * const _ as usize } , 104usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( prvHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . nxtHash as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( nxtHash ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . prvList as * const _ as usize } , 120usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( prvList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . nxtList as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( nxtList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . slotAddresses as * const _ as usize } , 136usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( slotAddresses ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instance > ( ) ) ) . slots as * const _ as usize } , 144usize , concat ! ( "Offset of field: " , stringify ! ( instance ) , "::" , stringify ! ( slots ) ) ) ; } impl Default for instance { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for instance { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "instance {{ __bindgen_anon_1: {:?}, partialMatchList: {:?}, basisSlots: {:?}, installed : {:?}, garbage : {:?}, initSlotsCalled : {:?}, initializeInProgress : {:?}, reteSynchronized : {:?}, name: {:?}, hashTableIndex: {:?}, busy: {:?}, cls: {:?}, prvClass: {:?}, nxtClass: {:?}, prvHash: {:?}, nxtHash: {:?}, prvList: {:?}, nxtList: {:?}, slotAddresses: {:?}, slots: {:?} }}" , self . __bindgen_anon_1 , self . partialMatchList , self . basisSlots , self . installed ( ) , self . garbage ( ) , self . initSlotsCalled ( ) , self . initializeInProgress ( ) , self . reteSynchronized ( ) , self . name , self . hashTableIndex , self . busy , self . cls , self . prvClass , self . nxtClass , self . prvHash , self . nxtHash , self . prvList , self . nxtList , self . slotAddresses , self . slots ) } } impl instance { # [ inline ] pub fn installed ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_installed ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn garbage ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_garbage ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 1u8 , val as u64 ) } } # [ inline ] pub fn initSlotsCalled ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 2usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_initSlotsCalled ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 2usize , 1u8 , val as u64 ) } } # [ inline ] pub fn initializeInProgress ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_initializeInProgress ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn reteSynchronized ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_reteSynchronized ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( installed : :: std :: os :: raw :: c_uint , garbage : :: std :: os :: raw :: c_uint , initSlotsCalled : :: std :: os :: raw :: c_uint , initializeInProgress : :: std :: os :: raw :: c_uint , reteSynchronized : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let installed : u32 = unsafe { :: std :: mem :: transmute ( installed ) } ; installed as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 1u8 , { let garbage : u32 = unsafe { :: std :: mem :: transmute ( garbage ) } ; garbage as u64 } ) ; __bindgen_bitfield_unit . set ( 2usize , 1u8 , { let initSlotsCalled : u32 = unsafe { :: std :: mem :: transmute ( initSlotsCalled ) } ; initSlotsCalled as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let initializeInProgress : u32 = unsafe { :: std :: mem :: transmute ( initializeInProgress ) } ; initializeInProgress as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let reteSynchronized : u32 = unsafe { :: std :: mem :: transmute ( reteSynchronized ) } ; reteSynchronized as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct defmessageHandler { pub header : ConstructHeader , pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > , pub busy : :: std :: os :: raw :: c_uint , pub cls : * mut Defclass , pub minParams : :: std :: os :: raw :: c_ushort , pub maxParams : :: std :: os :: raw :: c_ushort , pub localVarCount : :: std :: os :: raw :: c_ushort , pub actions : * mut Expression , } # [ test ] fn bindgen_test_layout_defmessageHandler ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defmessageHandler > ( ) , 96usize , concat ! ( "Size of: " , stringify ! ( defmessageHandler ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defmessageHandler > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defmessageHandler ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmessageHandler > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defmessageHandler ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmessageHandler > ( ) ) ) . busy as * const _ as usize } , 68usize , concat ! ( "Offset of field: " , stringify ! ( defmessageHandler ) , "::" , stringify ! ( busy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmessageHandler > ( ) ) ) . cls as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( defmessageHandler ) , "::" , stringify ! ( cls ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmessageHandler > ( ) ) ) . minParams as * const _ as usize } , 80usize , concat ! ( "Offset of field: " , stringify ! ( defmessageHandler ) , "::" , stringify ! ( minParams ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmessageHandler > ( ) ) ) . maxParams as * const _ as usize } , 82usize , concat ! ( "Offset of field: " , stringify ! ( defmessageHandler ) , "::" , stringify ! ( maxParams ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmessageHandler > ( ) ) ) . localVarCount as * const _ as usize } , 84usize , concat ! ( "Offset of field: " , stringify ! ( defmessageHandler ) , "::" , stringify ! ( localVarCount ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defmessageHandler > ( ) ) ) . actions as * const _ as usize } , 88usize , concat ! ( "Offset of field: " , stringify ! ( defmessageHandler ) , "::" , stringify ! ( actions ) ) ) ; } impl Default for defmessageHandler { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl defmessageHandler { # [ inline ] pub fn system ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 0usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_system ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 0usize , 1u8 , val as u64 ) } } # [ inline ] pub fn type_ ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 1usize , 2u8 ) as u32 ) } } # [ inline ] pub fn set_type ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 1usize , 2u8 , val as u64 ) } } # [ inline ] pub fn mark ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 3usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_mark ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 3usize , 1u8 , val as u64 ) } } # [ inline ] pub fn trace ( & self ) -> :: std :: os :: raw :: c_uint { unsafe { :: std :: mem :: transmute ( self . _bitfield_1 . get ( 4usize , 1u8 ) as u32 ) } } # [ inline ] pub fn set_trace ( & mut self , val : :: std :: os :: raw :: c_uint ) { unsafe { let val : u32 = :: std :: mem :: transmute ( val ) ; self . _bitfield_1 . set ( 4usize , 1u8 , val as u64 ) } } # [ inline ] pub fn new_bitfield_1 ( system : :: std :: os :: raw :: c_uint , type_ : :: std :: os :: raw :: c_uint , mark : :: std :: os :: raw :: c_uint , trace : :: std :: os :: raw :: c_uint ) -> __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > { let mut __bindgen_bitfield_unit : __BindgenBitfieldUnit < [ u8 ; 1usize ] , u8 > = Default :: default ( ) ; __bindgen_bitfield_unit . set ( 0usize , 1u8 , { let system : u32 = unsafe { :: std :: mem :: transmute ( system ) } ; system as u64 } ) ; __bindgen_bitfield_unit . set ( 1usize , 2u8 , { let type_ : u32 = unsafe { :: std :: mem :: transmute ( type_ ) } ; type_ as u64 } ) ; __bindgen_bitfield_unit . set ( 3usize , 1u8 , { let mark : u32 = unsafe { :: std :: mem :: transmute ( mark ) } ; mark as u64 } ) ; __bindgen_bitfield_unit . set ( 4usize , 1u8 , { let trace : u32 = unsafe { :: std :: mem :: transmute ( trace ) } ; trace as u64 } ) ; __bindgen_bitfield_unit } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct instanceBuilder { pub ibEnv : * mut Environment , pub ibDefclass : * mut Defclass , pub ibValueArray : * mut CLIPSValue , } # [ test ] fn bindgen_test_layout_instanceBuilder ( ) { assert_eq ! ( :: std :: mem :: size_of :: < instanceBuilder > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( instanceBuilder ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < instanceBuilder > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( instanceBuilder ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceBuilder > ( ) ) ) . ibEnv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceBuilder ) , "::" , stringify ! ( ibEnv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceBuilder > ( ) ) ) . ibDefclass as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( instanceBuilder ) , "::" , stringify ! ( ibDefclass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceBuilder > ( ) ) ) . ibValueArray as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( instanceBuilder ) , "::" , stringify ! ( ibValueArray ) ) ) ; } impl Default for instanceBuilder { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct instanceModifier { pub imEnv : * mut Environment , pub imOldInstance : * mut Instance , pub imValueArray : * mut CLIPSValue , pub changeMap : * mut :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_instanceModifier ( ) { assert_eq ! ( :: std :: mem :: size_of :: < instanceModifier > ( ) , 32usize , concat ! ( "Size of: " , stringify ! ( instanceModifier ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < instanceModifier > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( instanceModifier ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceModifier > ( ) ) ) . imEnv as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceModifier ) , "::" , stringify ! ( imEnv ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceModifier > ( ) ) ) . imOldInstance as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( instanceModifier ) , "::" , stringify ! ( imOldInstance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceModifier > ( ) ) ) . imValueArray as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( instanceModifier ) , "::" , stringify ! ( imValueArray ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceModifier > ( ) ) ) . changeMap as * const _ as usize } , 24usize , concat ! ( "Offset of field: " , stringify ! ( instanceModifier ) , "::" , stringify ! ( changeMap ) ) ) ; } impl Default for instanceModifier { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn DefclassName ( arg1 : * mut Defclass ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefclassPPForm ( arg1 : * mut Defclass ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetDefclassModule ( arg1 : * mut Environment , arg2 : * mut Defclass ) -> * mut defmoduleItemHeader ; } extern "C" { pub fn DefclassModule ( arg1 : * mut Defclass ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetDefclassNamePointer ( arg1 : * mut Defclass ) -> * mut CLIPSLexeme ; } extern "C" { pub fn SetNextDefclass ( arg1 : * mut Defclass , arg2 : * mut Defclass ) ; } extern "C" { pub fn SetDefclassPPForm ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * mut :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn FindDefclass ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defclass ; } extern "C" { pub fn FindDefclassInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defclass ; } extern "C" { pub fn LookupDefclassByMdlOrScope ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defclass ; } extern "C" { pub fn LookupDefclassInScope ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Defclass ; } extern "C" { pub fn LookupDefclassAnywhere ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut Defclass ; } extern "C" { pub fn DefclassInScope ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * mut Defmodule ) -> bool ; } extern "C" { pub fn GetNextDefclass ( arg1 : * mut Environment , arg2 : * mut Defclass ) -> * mut Defclass ; } extern "C" { pub fn DefclassIsDeletable ( arg1 : * mut Defclass ) -> bool ; } extern "C" { pub fn UndefclassCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetClassDefaultsMode ( arg1 : * mut Environment , arg2 : ClassDefaultsMode ) -> ClassDefaultsMode ; } extern "C" { pub fn GetClassDefaultsMode ( arg1 : * mut Environment ) -> ClassDefaultsMode ; } extern "C" { pub fn GetClassDefaultsModeCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetClassDefaultsModeCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDefclassCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefclassesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefclasses ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DefclassGetWatchInstances ( arg1 : * mut Defclass ) -> bool ; } extern "C" { pub fn DefclassSetWatchInstances ( arg1 : * mut Defclass , arg2 : bool ) ; } extern "C" { pub fn DefclassGetWatchSlots ( arg1 : * mut Defclass ) -> bool ; } extern "C" { pub fn DefclassSetWatchSlots ( arg1 : * mut Defclass , arg2 : bool ) ; } extern "C" { pub fn DefclassWatchAccess ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int , arg3 : bool , arg4 : * mut Expression ) -> bool ; } extern "C" { pub fn DefclassWatchPrint ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int , arg4 : * mut Expression ) -> bool ; } extern "C" { pub fn GetDefclassListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefclassList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn Undefclass ( arg1 : * mut Defclass , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn HasSuperclass ( arg1 : * mut Defclass , arg2 : * mut Defclass ) -> bool ; } extern "C" { pub fn CheckClassAndSlot ( arg1 : * mut UDFContext , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut * mut Defclass ) -> * mut CLIPSLexeme ; } extern "C" { pub fn SaveDefclasses ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn BrowseClassesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn BrowseClasses ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn DescribeClassCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DescribeClass ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn GetCreateAccessorString ( arg1 : * mut SlotDescriptor ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetDefclassModuleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SuperclassPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SuperclassP ( arg1 : * mut Defclass , arg2 : * mut Defclass ) -> bool ; } extern "C" { pub fn SubclassPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SubclassP ( arg1 : * mut Defclass , arg2 : * mut Defclass ) -> bool ; } extern "C" { pub fn SlotExistPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotExistP ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : bool ) -> bool ; } extern "C" { pub fn MessageHandlerExistPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotWritablePCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotWritableP ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn SlotInitablePCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotInitableP ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn SlotPublicPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotPublicP ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn SlotDirectAccessPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotDirectAccessP ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn SlotDefaultValueCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotDefaultValue ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn ClassExistPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotDefaultP ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn IncrementDefclassBusyCount ( arg1 : * mut Environment , arg2 : * mut Defclass ) ; } extern "C" { pub fn DecrementDefclassBusyCount ( arg1 : * mut Environment , arg2 : * mut Defclass ) ; } extern "C" { pub fn InstancesPurge ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) -> bool ; } extern "C" { pub fn InitializeClasses ( arg1 : * mut Environment ) ; } extern "C" { pub fn FindClassSlot ( arg1 : * mut Defclass , arg2 : * mut CLIPSLexeme ) -> * mut SlotDescriptor ; } extern "C" { pub fn ClassExistError ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn DeleteClassLinks ( arg1 : * mut Environment , arg2 : * mut CLASS_LINK ) ; } extern "C" { pub fn PrintClassName ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defclass , arg4 : bool , arg5 : bool ) ; } extern "C" { pub fn PrintPackedClassLinks ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * mut PACKED_CLASS_LINKS ) ; } extern "C" { pub fn PutClassInTable ( arg1 : * mut Environment , arg2 : * mut Defclass ) ; } extern "C" { pub fn RemoveClassFromTable ( arg1 : * mut Environment , arg2 : * mut Defclass ) ; } extern "C" { pub fn AddClassLink ( arg1 : * mut Environment , arg2 : * mut PACKED_CLASS_LINKS , arg3 : * mut Defclass , arg4 : bool , arg5 : :: std :: os :: raw :: c_uint ) ; } extern "C" { pub fn DeleteSubclassLink ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * mut Defclass ) ; } extern "C" { pub fn DeleteSuperclassLink ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * mut Defclass ) ; } extern "C" { pub fn NewClass ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme ) -> * mut Defclass ; } extern "C" { pub fn DeletePackedClassLinks ( arg1 : * mut Environment , arg2 : * mut PACKED_CLASS_LINKS , arg3 : bool ) ; } extern "C" { pub fn AssignClassID ( arg1 : * mut Environment , arg2 : * mut Defclass ) ; } extern "C" { pub fn AddSlotName ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme , arg3 : :: std :: os :: raw :: c_ushort , arg4 : bool ) -> * mut SLOT_NAME ; } extern "C" { pub fn DeleteSlotName ( arg1 : * mut Environment , arg2 : * mut SLOT_NAME ) ; } extern "C" { pub fn RemoveDefclass ( arg1 : * mut Environment , arg2 : * mut Defclass ) ; } extern "C" { pub fn InstallClass ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : bool ) ; } extern "C" { pub fn DestroyDefclass ( arg1 : * mut Environment , arg2 : * mut Defclass ) ; } extern "C" { pub fn IsClassBeingUsed ( arg1 : * mut Defclass ) -> bool ; } extern "C" { pub fn RemoveAllUserClasses ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn DeleteClassUAG ( arg1 : * mut Environment , arg2 : * mut Defclass ) -> bool ; } extern "C" { pub fn MarkBitMapSubclasses ( arg1 : * mut :: std :: os :: raw :: c_char , arg2 : * mut Defclass , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn FindSlotNameID ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme ) -> :: std :: os :: raw :: c_ushort ; } extern "C" { pub fn FindIDSlotName ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ushort ) -> * mut CLIPSLexeme ; } extern "C" { pub fn FindIDSlotNameHash ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_ushort ) -> * mut SLOT_NAME ; } extern "C" { pub fn GetTraversalID ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn ReleaseTraversalID ( arg1 : * mut Environment ) ; } extern "C" { pub fn HashClass ( arg1 : * mut CLIPSLexeme ) -> :: std :: os :: raw :: c_uint ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct defclassData { pub DefclassConstruct : * mut Construct , pub DefclassModuleIndex : :: std :: os :: raw :: c_uint , pub DefclassEntityRecord : EntityRecord , pub PrimitiveClassMap : [ * mut Defclass ; 9usize ] , pub ClassIDMap : * mut * mut Defclass , pub ClassTable : * mut * mut Defclass , pub MaxClassID : :: std :: os :: raw :: c_ushort , pub AvailClassID : :: std :: os :: raw :: c_ushort , pub SlotNameTable : * mut * mut SLOT_NAME , pub ISA_SYMBOL : * mut CLIPSLexeme , pub NAME_SYMBOL : * mut CLIPSLexeme , pub WatchInstances : bool , pub WatchSlots : bool , pub CTID : :: std :: os :: raw :: c_ushort , pub ObjectParseToken : token , pub ClassDefaultsModeValue : ClassDefaultsMode , pub newSlotID : :: std :: os :: raw :: c_int , } # [ test ] fn bindgen_test_layout_defclassData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < defclassData > ( ) , 288usize , concat ! ( "Size of: " , stringify ! ( defclassData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < defclassData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( defclassData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . DefclassConstruct as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( DefclassConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . DefclassModuleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( DefclassModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . DefclassEntityRecord as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( DefclassEntityRecord ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . PrimitiveClassMap as * const _ as usize } , 128usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( PrimitiveClassMap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . ClassIDMap as * const _ as usize } , 200usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( ClassIDMap ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . ClassTable as * const _ as usize } , 208usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( ClassTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . MaxClassID as * const _ as usize } , 216usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( MaxClassID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . AvailClassID as * const _ as usize } , 218usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( AvailClassID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . SlotNameTable as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( SlotNameTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . ISA_SYMBOL as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( ISA_SYMBOL ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . NAME_SYMBOL as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( NAME_SYMBOL ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . WatchInstances as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( WatchInstances ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . WatchSlots as * const _ as usize } , 249usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( WatchSlots ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . CTID as * const _ as usize } , 250usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( CTID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . ObjectParseToken as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( ObjectParseToken ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . ClassDefaultsModeValue as * const _ as usize } , 280usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( ClassDefaultsModeValue ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < defclassData > ( ) ) ) . newSlotID as * const _ as usize } , 284usize , concat ! ( "Offset of field: " , stringify ! ( defclassData ) , "::" , stringify ! ( newSlotID ) ) ) ; } impl Default for defclassData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for defclassData { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "defclassData {{ DefclassConstruct: {:?}, DefclassModuleIndex: {:?}, DefclassEntityRecord: {:?}, PrimitiveClassMap: {:?}, ClassIDMap: {:?}, ClassTable: {:?}, MaxClassID: {:?}, AvailClassID: {:?}, SlotNameTable: {:?}, ISA_SYMBOL: {:?}, NAME_SYMBOL: {:?}, WatchInstances: {:?}, WatchSlots: {:?}, CTID: {:?}, ObjectParseToken: {:?}, ClassDefaultsModeValue: {:?}, newSlotID: {:?} }}" , self . DefclassConstruct , self . DefclassModuleIndex , self . DefclassEntityRecord , self . PrimitiveClassMap , self . ClassIDMap , self . ClassTable , self . MaxClassID , self . AvailClassID , self . SlotNameTable , self . ISA_SYMBOL , self . NAME_SYMBOL , self . WatchInstances , self . WatchSlots , self . CTID , self . ObjectParseToken , self . ClassDefaultsModeValue , self . newSlotID ) } } extern "C" { pub fn ClassAbstractPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClassReactivePCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClassInfoFnxArgs ( arg1 : * mut UDFContext , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut bool ) -> * mut Defclass ; } extern "C" { pub fn ClassSlotsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClassSuperclassesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClassSubclassesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefmessageHandlersListCmd ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotFacetsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotSourcesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotTypesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotAllowedValuesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotAllowedClassesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotRangeCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SlotCardinalityCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ClassAbstractP ( arg1 : * mut Defclass ) -> bool ; } extern "C" { pub fn ClassReactiveP ( arg1 : * mut Defclass ) -> bool ; } extern "C" { pub fn ClassSlots ( arg1 : * mut Defclass , arg2 : * mut CLIPSValue , arg3 : bool ) ; } extern "C" { pub fn GetDefmessageHandlerList ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * mut CLIPSValue , arg4 : bool ) ; } extern "C" { pub fn ClassSuperclasses ( arg1 : * mut Defclass , arg2 : * mut CLIPSValue , arg3 : bool ) ; } extern "C" { pub fn ClassSubclasses ( arg1 : * mut Defclass , arg2 : * mut CLIPSValue , arg3 : bool ) ; } extern "C" { pub fn ClassSubclassAddresses ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * mut UDFValue , arg4 : bool ) ; } extern "C" { pub fn SlotFacets ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn SlotSources ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn SlotTypes ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn SlotAllowedValues ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn SlotAllowedClasses ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn SlotRange ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn SlotCardinality ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> bool ; } extern "C" { pub fn SetupObjectSystem ( arg1 : * mut Environment ) ; } extern "C" { pub fn CreateSystemClasses ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn ParseDefclass ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> bool ; } extern "C" { pub fn CreateClassScopeMap ( arg1 : * mut Environment , arg2 : * mut Defclass ) -> * mut :: std :: os :: raw :: c_void ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct definstancesModule { pub header : defmoduleItemHeader , } # [ test ] fn bindgen_test_layout_definstancesModule ( ) { assert_eq ! ( :: std :: mem :: size_of :: < definstancesModule > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( definstancesModule ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < definstancesModule > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( definstancesModule ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < definstancesModule > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( definstancesModule ) , "::" , stringify ! ( header ) ) ) ; } impl Default for definstancesModule { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type DEFINSTANCES_MODULE = definstancesModule ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct definstances { pub header : ConstructHeader , pub busy : :: std :: os :: raw :: c_uint , pub mkinstance : * mut Expression , } # [ test ] fn bindgen_test_layout_definstances ( ) { assert_eq ! ( :: std :: mem :: size_of :: < definstances > ( ) , 80usize , concat ! ( "Size of: " , stringify ! ( definstances ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < definstances > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( definstances ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < definstances > ( ) ) ) . header as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( definstances ) , "::" , stringify ! ( header ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < definstances > ( ) ) ) . busy as * const _ as usize } , 64usize , concat ! ( "Offset of field: " , stringify ! ( definstances ) , "::" , stringify ! ( busy ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < definstances > ( ) ) ) . mkinstance as * const _ as usize } , 72usize , concat ! ( "Offset of field: " , stringify ! ( definstances ) , "::" , stringify ! ( mkinstance ) ) ) ; } impl Default for definstances { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type Definstances = definstances ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct definstancesData { pub DefinstancesConstruct : * mut Construct , pub DefinstancesModuleIndex : :: std :: os :: raw :: c_uint , pub DefinstancesCodeItem : * mut CodeGeneratorItem , } # [ test ] fn bindgen_test_layout_definstancesData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < definstancesData > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( definstancesData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < definstancesData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( definstancesData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < definstancesData > ( ) ) ) . DefinstancesConstruct as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( definstancesData ) , "::" , stringify ! ( DefinstancesConstruct ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < definstancesData > ( ) ) ) . DefinstancesModuleIndex as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( definstancesData ) , "::" , stringify ! ( DefinstancesModuleIndex ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < definstancesData > ( ) ) ) . DefinstancesCodeItem as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( definstancesData ) , "::" , stringify ! ( DefinstancesCodeItem ) ) ) ; } impl Default for definstancesData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn DefinstancesModule ( arg1 : * mut Definstances ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefinstancesModuleName ( arg1 : * mut Environment , arg2 : * mut Definstances ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn FindDefinstances ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Definstances ; } extern "C" { pub fn FindDefinstancesInModule ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Definstances ; } extern "C" { pub fn GetDefinstancesList ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * mut Defmodule ) ; } extern "C" { pub fn DefinstancesName ( arg1 : * mut Definstances ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetDefinstancesNamePointer ( arg1 : * mut Environment , arg2 : * mut Definstances ) -> * mut CLIPSLexeme ; } extern "C" { pub fn DefinstancesPPForm ( arg1 : * mut Definstances ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetNextDefinstances ( arg1 : * mut Environment , arg2 : * mut Definstances ) -> * mut Definstances ; } extern "C" { pub fn DefinstancesIsDeletable ( arg1 : * mut Definstances ) -> bool ; } extern "C" { pub fn SetDefinstancesPPForm ( arg1 : * mut Environment , arg2 : * mut Definstances , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn Undefinstances ( arg1 : * mut Definstances , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn GetDefinstancesListFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetDefinstancesModuleCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SetupDefinstances ( arg1 : * mut Environment ) ; } extern "C" { pub fn UndefinstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPDefinstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefinstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefinstances ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule ) ; } pub const UnmakeInstanceError_UIE_NO_ERROR : UnmakeInstanceError = 0 ; pub const UnmakeInstanceError_UIE_NULL_POINTER_ERROR : UnmakeInstanceError = 1 ; pub const UnmakeInstanceError_UIE_COULD_NOT_DELETE_ERROR : UnmakeInstanceError = 2 ; pub const UnmakeInstanceError_UIE_DELETED_ERROR : UnmakeInstanceError = 3 ; pub const UnmakeInstanceError_UIE_RULE_NETWORK_ERROR : UnmakeInstanceError = 4 ; pub type UnmakeInstanceError = u32 ; pub const MakeInstanceError_MIE_NO_ERROR : MakeInstanceError = 0 ; pub const MakeInstanceError_MIE_NULL_POINTER_ERROR : MakeInstanceError = 1 ; pub const MakeInstanceError_MIE_PARSING_ERROR : MakeInstanceError = 2 ; pub const MakeInstanceError_MIE_COULD_NOT_CREATE_ERROR : MakeInstanceError = 3 ; pub const MakeInstanceError_MIE_RULE_NETWORK_ERROR : MakeInstanceError = 4 ; pub type MakeInstanceError = u32 ; pub const InstanceBuilderError_IBE_NO_ERROR : InstanceBuilderError = 0 ; pub const InstanceBuilderError_IBE_NULL_POINTER_ERROR : InstanceBuilderError = 1 ; pub const InstanceBuilderError_IBE_DEFCLASS_NOT_FOUND_ERROR : InstanceBuilderError = 2 ; pub const InstanceBuilderError_IBE_COULD_NOT_CREATE_ERROR : InstanceBuilderError = 3 ; pub const InstanceBuilderError_IBE_RULE_NETWORK_ERROR : InstanceBuilderError = 4 ; pub type InstanceBuilderError = u32 ; pub const InstanceModifierError_IME_NO_ERROR : InstanceModifierError = 0 ; pub const InstanceModifierError_IME_NULL_POINTER_ERROR : InstanceModifierError = 1 ; pub const InstanceModifierError_IME_DELETED_ERROR : InstanceModifierError = 2 ; pub const InstanceModifierError_IME_COULD_NOT_MODIFY_ERROR : InstanceModifierError = 3 ; pub const InstanceModifierError_IME_RULE_NETWORK_ERROR : InstanceModifierError = 4 ; pub type InstanceModifierError = u32 ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct igarbage { pub ins : * mut Instance , pub nxt : * mut igarbage , } # [ test ] fn bindgen_test_layout_igarbage ( ) { assert_eq ! ( :: std :: mem :: size_of :: < igarbage > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( igarbage ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < igarbage > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( igarbage ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < igarbage > ( ) ) ) . ins as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( igarbage ) , "::" , stringify ! ( ins ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < igarbage > ( ) ) ) . nxt as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( igarbage ) , "::" , stringify ! ( nxt ) ) ) ; } impl Default for igarbage { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type IGARBAGE = igarbage ; extern "C" { pub fn RetainInstance ( arg1 : * mut Instance ) ; } extern "C" { pub fn ReleaseInstance ( arg1 : * mut Instance ) ; } extern "C" { pub fn IncrementInstanceCallback ( arg1 : * mut Environment , arg2 : * mut Instance ) ; } extern "C" { pub fn DecrementInstanceCallback ( arg1 : * mut Environment , arg2 : * mut Instance ) ; } extern "C" { pub fn InitializeInstanceTable ( arg1 : * mut Environment ) ; } extern "C" { pub fn CleanupInstances ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn HashInstance ( arg1 : * mut CLIPSLexeme ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn DestroyAllInstances ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn RemoveInstanceData ( arg1 : * mut Environment , arg2 : * mut Instance ) ; } extern "C" { pub fn FindInstanceBySymbol ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme ) -> * mut Instance ; } extern "C" { pub fn FindInstanceInModule ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme , arg3 : * mut Defmodule , arg4 : * mut Defmodule , arg5 : bool ) -> * mut Instance ; } extern "C" { pub fn FindInstanceSlot ( arg1 : * mut Environment , arg2 : * mut Instance , arg3 : * mut CLIPSLexeme ) -> * mut InstanceSlot ; } extern "C" { pub fn FindInstanceTemplateSlot ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * mut CLIPSLexeme ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn PutSlotValue ( arg1 : * mut Environment , arg2 : * mut Instance , arg3 : * mut InstanceSlot , arg4 : * mut UDFValue , arg5 : * mut UDFValue , arg6 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotValue ( arg1 : * mut Environment , arg2 : * mut Instance , arg3 : * mut InstanceSlot , arg4 : * mut UDFValue , arg5 : * mut UDFValue ) -> PutSlotError ; } extern "C" { pub fn ValidSlotValue ( arg1 : * mut Environment , arg2 : * mut UDFValue , arg3 : * mut SlotDescriptor , arg4 : * mut Instance , arg5 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn CheckInstance ( arg1 : * mut UDFContext ) -> * mut Instance ; } extern "C" { pub fn NoInstanceError ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn StaleInstanceAddress ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn GetInstancesChanged ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn SetInstancesChanged ( arg1 : * mut Environment , arg2 : bool ) ; } extern "C" { pub fn PrintSlot ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut SlotDescriptor , arg4 : * mut Instance , arg5 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn PrintInstanceNameAndClass ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Instance , arg4 : bool ) ; } extern "C" { pub fn PrintInstanceName ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Instance ) ; } extern "C" { pub fn PrintInstanceLongForm ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Instance ) ; } extern "C" { pub fn DecrementObjectBasisCount ( arg1 : * mut Environment , arg2 : * mut Instance ) ; } extern "C" { pub fn IncrementObjectBasisCount ( arg1 : * mut Environment , arg2 : * mut Instance ) ; } extern "C" { pub fn MatchObjectFunction ( arg1 : * mut Environment , arg2 : * mut Instance ) ; } extern "C" { pub fn NetworkSynchronized ( arg1 : * mut Environment , arg2 : * mut Instance ) -> bool ; } extern "C" { pub fn InstanceIsDeleted ( arg1 : * mut Environment , arg2 : * mut Instance ) -> bool ; } # [ repr ( C ) ] # [ derive ( Copy , Clone ) ] pub struct instanceData { pub DummyInstance : Instance , pub InstanceTable : * mut * mut Instance , pub MaintainGarbageInstances : bool , pub MkInsMsgPass : bool , pub ChangesToInstances : bool , pub InstanceGarbageList : * mut IGARBAGE , pub InstanceInfo : patternEntityRecord , pub InstanceList : * mut Instance , pub GlobalNumberOfInstances : :: std :: os :: raw :: c_ulong , pub CurrentInstance : * mut Instance , pub InstanceListBottom : * mut Instance , pub ObjectModDupMsgValid : bool , pub unmakeInstanceError : UnmakeInstanceError , pub makeInstanceError : MakeInstanceError , pub instanceModifierError : InstanceModifierError , pub instanceBuilderError : InstanceBuilderError , } # [ test ] fn bindgen_test_layout_instanceData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < instanceData > ( ) , 384usize , concat ! ( "Size of: " , stringify ! ( instanceData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < instanceData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( instanceData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . DummyInstance as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( DummyInstance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . InstanceTable as * const _ as usize } , 152usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( InstanceTable ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . MaintainGarbageInstances as * const _ as usize } , 160usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( MaintainGarbageInstances ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . MkInsMsgPass as * const _ as usize } , 161usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( MkInsMsgPass ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . ChangesToInstances as * const _ as usize } , 162usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( ChangesToInstances ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . InstanceGarbageList as * const _ as usize } , 168usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( InstanceGarbageList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . InstanceInfo as * const _ as usize } , 176usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( InstanceInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . InstanceList as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( InstanceList ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . GlobalNumberOfInstances as * const _ as usize } , 336usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( GlobalNumberOfInstances ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . CurrentInstance as * const _ as usize } , 344usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( CurrentInstance ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . InstanceListBottom as * const _ as usize } , 352usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( InstanceListBottom ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . ObjectModDupMsgValid as * const _ as usize } , 360usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( ObjectModDupMsgValid ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . unmakeInstanceError as * const _ as usize } , 364usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( unmakeInstanceError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . makeInstanceError as * const _ as usize } , 368usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( makeInstanceError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . instanceModifierError as * const _ as usize } , 372usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( instanceModifierError ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceData > ( ) ) ) . instanceBuilderError as * const _ as usize } , 376usize , concat ! ( "Offset of field: " , stringify ! ( instanceData ) , "::" , stringify ! ( instanceBuilderError ) ) ) ; } impl Default for instanceData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } impl :: std :: fmt :: Debug for instanceData { fn fmt ( & self , f : & mut :: std :: fmt :: Formatter < '_ > ) -> :: std :: fmt :: Result { write ! ( f , "instanceData {{ DummyInstance: {:?}, InstanceTable: {:?}, MaintainGarbageInstances: {:?}, MkInsMsgPass: {:?}, ChangesToInstances: {:?}, InstanceGarbageList: {:?}, InstanceInfo: {:?}, InstanceList: {:?}, GlobalNumberOfInstances: {:?}, CurrentInstance: {:?}, InstanceListBottom: {:?}, ObjectModDupMsgValid: {:?}, unmakeInstanceError: {:?}, makeInstanceError: {:?}, instanceModifierError: {:?}, instanceBuilderError: {:?} }}" , self . DummyInstance , self . InstanceTable , self . MaintainGarbageInstances , self . MkInsMsgPass , self . ChangesToInstances , self . InstanceGarbageList , self . InstanceInfo , self . InstanceList , self . GlobalNumberOfInstances , self . CurrentInstance , self . InstanceListBottom , self . ObjectModDupMsgValid , self . unmakeInstanceError , self . makeInstanceError , self . instanceModifierError , self . instanceBuilderError ) } } extern "C" { pub fn SetupInstances ( arg1 : * mut Environment ) ; } extern "C" { pub fn DeleteInstance ( arg1 : * mut Instance ) -> UnmakeInstanceError ; } extern "C" { pub fn DeleteAllInstances ( arg1 : * mut Environment ) -> UnmakeInstanceError ; } extern "C" { pub fn UnmakeInstance ( arg1 : * mut Instance ) -> UnmakeInstanceError ; } extern "C" { pub fn UnmakeInstanceCallback ( arg1 : * mut Instance , arg2 : * mut Environment ) -> bool ; } extern "C" { pub fn UnmakeAllInstances ( arg1 : * mut Environment ) -> UnmakeInstanceError ; } extern "C" { pub fn InstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PPInstanceCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn Instances ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Defmodule , arg4 : * const :: std :: os :: raw :: c_char , arg5 : bool ) ; } extern "C" { pub fn MakeInstance ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Instance ; } extern "C" { pub fn GetMakeInstanceError ( arg1 : * mut Environment ) -> MakeInstanceError ; } extern "C" { pub fn CreateRawInstance ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * const :: std :: os :: raw :: c_char ) -> * mut Instance ; } extern "C" { pub fn FindInstance ( arg1 : * mut Environment , arg2 : * mut Defmodule , arg3 : * const :: std :: os :: raw :: c_char , arg4 : bool ) -> * mut Instance ; } extern "C" { pub fn ValidInstanceAddress ( arg1 : * mut Instance ) -> bool ; } extern "C" { pub fn DirectGetSlot ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> GetSlotError ; } extern "C" { pub fn DirectPutSlot ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotInteger ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_longlong ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotFloat ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : f64 ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotSymbol ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotString ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotInstanceName ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotCLIPSInteger ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSInteger ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotCLIPSFloat ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSFloat ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotCLIPSLexeme ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSLexeme ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotFact ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotInstance ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Instance ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotMultifield ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Multifield ) -> PutSlotError ; } extern "C" { pub fn DirectPutSlotCLIPSExternalAddress ( arg1 : * mut Instance , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSExternalAddress ) -> PutSlotError ; } extern "C" { pub fn InstanceName ( arg1 : * mut Instance ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn InstanceClass ( arg1 : * mut Instance ) -> * mut Defclass ; } extern "C" { pub fn GetGlobalNumberOfInstances ( arg1 : * mut Environment ) -> :: std :: os :: raw :: c_ulong ; } extern "C" { pub fn GetNextInstance ( arg1 : * mut Environment , arg2 : * mut Instance ) -> * mut Instance ; } extern "C" { pub fn GetNextInstanceInScope ( arg1 : * mut Environment , arg2 : * mut Instance ) -> * mut Instance ; } extern "C" { pub fn GetNextInstanceInClass ( arg1 : * mut Defclass , arg2 : * mut Instance ) -> * mut Instance ; } extern "C" { pub fn GetNextInstanceInClassAndSubclasses ( arg1 : * mut * mut Defclass , arg2 : * mut Instance , arg3 : * mut UDFValue ) -> * mut Instance ; } extern "C" { pub fn InstancePPForm ( arg1 : * mut Instance , arg2 : * mut StringBuilder ) ; } extern "C" { pub fn ClassCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DeleteInstanceCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn UnmakeInstanceCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SymbolToInstanceNameFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn InstanceNameToSymbolFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn InstanceAddressCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn InstanceNameCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn InstanceAddressPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn InstanceNamePCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn InstancePCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn InstanceExistPCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CreateInstanceHandler ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct instanceFileData { pub InstanceBinaryPrefixID : * const :: std :: os :: raw :: c_char , pub InstanceBinaryVersionID : * const :: std :: os :: raw :: c_char , } # [ test ] fn bindgen_test_layout_instanceFileData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < instanceFileData > ( ) , 16usize , concat ! ( "Size of: " , stringify ! ( instanceFileData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < instanceFileData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( instanceFileData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceFileData > ( ) ) ) . InstanceBinaryPrefixID as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( instanceFileData ) , "::" , stringify ! ( InstanceBinaryPrefixID ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < instanceFileData > ( ) ) ) . InstanceBinaryVersionID as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( instanceFileData ) , "::" , stringify ! ( InstanceBinaryVersionID ) ) ) ; } impl Default for instanceFileData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn SetupInstanceFileCommands ( arg1 : * mut Environment ) ; } extern "C" { pub fn SaveInstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn LoadInstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn RestoreInstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn SaveInstancesDriver ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveScope , arg4 : * mut Expression , arg5 : bool ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn SaveInstances ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveScope ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn BinarySaveInstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn BinarySaveInstancesDriver ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveScope , arg4 : * mut Expression , arg5 : bool ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn BinarySaveInstances ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : SaveScope ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn BinaryLoadInstancesCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn BinaryLoadInstances ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn LoadInstances ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn LoadInstancesFromString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn RestoreInstances ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn RestoreInstancesFromString ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : size_t ) -> :: std :: os :: raw :: c_long ; } extern "C" { pub fn InitializeInstanceCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn MakeInstanceCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetFullInstanceName ( arg1 : * mut Environment , arg2 : * mut Instance ) -> * mut CLIPSLexeme ; } extern "C" { pub fn BuildInstance ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme , arg3 : * mut Defclass , arg4 : bool ) -> * mut Instance ; } extern "C" { pub fn InitSlotsCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn QuashInstance ( arg1 : * mut Environment , arg2 : * mut Instance ) -> UnmakeInstanceError ; } extern "C" { pub fn InactiveInitializeInstance ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn InactiveMakeInstance ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CreateInstanceBuilder ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut InstanceBuilder ; } extern "C" { pub fn IBPutSlot ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> PutSlotError ; } extern "C" { pub fn IBMake ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char ) -> * mut Instance ; } extern "C" { pub fn IBDispose ( arg1 : * mut InstanceBuilder ) ; } extern "C" { pub fn IBAbort ( arg1 : * mut InstanceBuilder ) ; } extern "C" { pub fn IBSetDefclass ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char ) -> InstanceBuilderError ; } extern "C" { pub fn IBPutSlotCLIPSInteger ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSInteger ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotInteger ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_longlong ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotCLIPSFloat ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSFloat ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotFloat ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : f64 ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotCLIPSLexeme ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSLexeme ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotSymbol ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotString ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotInstanceName ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotFact ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotInstance ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Instance ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotExternalAddress ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSExternalAddress ) -> PutSlotError ; } extern "C" { pub fn IBPutSlotMultifield ( arg1 : * mut InstanceBuilder , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Multifield ) -> PutSlotError ; } extern "C" { pub fn IBError ( arg1 : * mut Environment ) -> InstanceBuilderError ; } extern "C" { pub fn CreateInstanceModifier ( arg1 : * mut Environment , arg2 : * mut Instance ) -> * mut InstanceModifier ; } extern "C" { pub fn IMPutSlot ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSValue ) -> PutSlotError ; } extern "C" { pub fn IMDispose ( arg1 : * mut InstanceModifier ) ; } extern "C" { pub fn IMAbort ( arg1 : * mut InstanceModifier ) ; } extern "C" { pub fn IMSetInstance ( arg1 : * mut InstanceModifier , arg2 : * mut Instance ) -> InstanceModifierError ; } extern "C" { pub fn IMModify ( arg1 : * mut InstanceModifier ) -> * mut Instance ; } extern "C" { pub fn IMPutSlotCLIPSInteger ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSInteger ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotInteger ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : :: std :: os :: raw :: c_longlong ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotCLIPSFloat ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSFloat ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotFloat ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : f64 ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotCLIPSLexeme ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSLexeme ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotSymbol ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotString ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotInstanceName ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotFact ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Fact ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotInstance ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Instance ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotExternalAddress ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut CLIPSExternalAddress ) -> PutSlotError ; } extern "C" { pub fn IMPutSlotMultifield ( arg1 : * mut InstanceModifier , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut Multifield ) -> PutSlotError ; } extern "C" { pub fn IMError ( arg1 : * mut Environment ) -> InstanceModifierError ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct messageHandlerLink { pub hnd : * mut DefmessageHandler , pub nxt : * mut messageHandlerLink , pub nxtInStack : * mut messageHandlerLink , } # [ test ] fn bindgen_test_layout_messageHandlerLink ( ) { assert_eq ! ( :: std :: mem :: size_of :: < messageHandlerLink > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( messageHandlerLink ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < messageHandlerLink > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( messageHandlerLink ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerLink > ( ) ) ) . hnd as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerLink ) , "::" , stringify ! ( hnd ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerLink > ( ) ) ) . nxt as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerLink ) , "::" , stringify ! ( nxt ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerLink > ( ) ) ) . nxtInStack as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerLink ) , "::" , stringify ! ( nxtInStack ) ) ) ; } impl Default for messageHandlerLink { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } pub type HANDLER_LINK = messageHandlerLink ; extern "C" { pub fn DirectMessage ( arg1 : * mut Environment , arg2 : * mut CLIPSLexeme , arg3 : * mut Instance , arg4 : * mut UDFValue , arg5 : * mut Expression ) -> bool ; } extern "C" { pub fn Send ( arg1 : * mut Environment , arg2 : * mut CLIPSValue , arg3 : * const :: std :: os :: raw :: c_char , arg4 : * const :: std :: os :: raw :: c_char , arg5 : * mut CLIPSValue ) ; } extern "C" { pub fn DestroyHandlerLinks ( arg1 : * mut Environment , arg2 : * mut HANDLER_LINK ) ; } extern "C" { pub fn SendCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn GetNthMessageArgument ( arg1 : * mut Environment , arg2 : :: std :: os :: raw :: c_int ) -> * mut UDFValue ; } extern "C" { pub fn NextHandlerAvailable ( arg1 : * mut Environment ) -> bool ; } extern "C" { pub fn NextHandlerAvailableFunction ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn CallNextHandler ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn FindApplicableOfName ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * mut * mut HANDLER_LINK , arg4 : * mut * mut HANDLER_LINK , arg5 : * mut CLIPSLexeme ) ; } extern "C" { pub fn JoinHandlerLinks ( arg1 : * mut Environment , arg2 : * mut * mut HANDLER_LINK , arg3 : * mut * mut HANDLER_LINK , arg4 : * mut CLIPSLexeme ) -> * mut HANDLER_LINK ; } extern "C" { pub fn PrintHandlerSlotGetFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn HandlerSlotGetFunction ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : * mut UDFValue ) -> bool ; } extern "C" { pub fn PrintHandlerSlotPutFunction ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut :: std :: os :: raw :: c_void ) ; } extern "C" { pub fn HandlerSlotPutFunction ( arg1 : * mut Environment , arg2 : * mut :: std :: os :: raw :: c_void , arg3 : * mut UDFValue ) -> bool ; } extern "C" { pub fn DynamicHandlerGetSlot ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DynamicHandlerPutSlot ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct messageHandlerData { pub HandlerGetInfo : EntityRecord , pub HandlerPutInfo : EntityRecord , pub INIT_SYMBOL : * mut CLIPSLexeme , pub DELETE_SYMBOL : * mut CLIPSLexeme , pub CREATE_SYMBOL : * mut CLIPSLexeme , pub WatchHandlers : bool , pub WatchMessages : bool , pub hndquals : [ * const :: std :: os :: raw :: c_char ; 4usize ] , pub SELF_SYMBOL : * mut CLIPSLexeme , pub CurrentMessageName : * mut CLIPSLexeme , pub CurrentCore : * mut HANDLER_LINK , pub TopOfCore : * mut HANDLER_LINK , pub NextInCore : * mut HANDLER_LINK , pub OldCore : * mut HANDLER_LINK , } # [ test ] fn bindgen_test_layout_messageHandlerData ( ) { assert_eq ! ( :: std :: mem :: size_of :: < messageHandlerData > ( ) , 336usize , concat ! ( "Size of: " , stringify ! ( messageHandlerData ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < messageHandlerData > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( messageHandlerData ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . HandlerGetInfo as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( HandlerGetInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . HandlerPutInfo as * const _ as usize } , 112usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( HandlerPutInfo ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . INIT_SYMBOL as * const _ as usize } , 224usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( INIT_SYMBOL ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . DELETE_SYMBOL as * const _ as usize } , 232usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( DELETE_SYMBOL ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . CREATE_SYMBOL as * const _ as usize } , 240usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( CREATE_SYMBOL ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . WatchHandlers as * const _ as usize } , 248usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( WatchHandlers ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . WatchMessages as * const _ as usize } , 249usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( WatchMessages ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . hndquals as * const _ as usize } , 256usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( hndquals ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . SELF_SYMBOL as * const _ as usize } , 288usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( SELF_SYMBOL ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . CurrentMessageName as * const _ as usize } , 296usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( CurrentMessageName ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . CurrentCore as * const _ as usize } , 304usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( CurrentCore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . TopOfCore as * const _ as usize } , 312usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( TopOfCore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . NextInCore as * const _ as usize } , 320usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( NextInCore ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < messageHandlerData > ( ) ) ) . OldCore as * const _ as usize } , 328usize , concat ! ( "Offset of field: " , stringify ! ( messageHandlerData ) , "::" , stringify ! ( OldCore ) ) ) ; } impl Default for messageHandlerData { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } extern "C" { pub fn SetupMessageHandlers ( arg1 : * mut Environment ) ; } extern "C" { pub fn DefmessageHandlerName ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn DefmessageHandlerType ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn GetNextDefmessageHandler ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn GetDefmessageHandlerPointer ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint ) -> * mut DefmessageHandler ; } extern "C" { pub fn DefmessageHandlerGetWatch ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint ) -> bool ; } extern "C" { pub fn DefmessageHandlerSetWatch ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint , arg3 : bool ) ; } extern "C" { pub fn FindDefmessageHandler ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) -> :: std :: os :: raw :: c_uint ; } extern "C" { pub fn DefmessageHandlerIsDeletable ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint ) -> bool ; } extern "C" { pub fn UndefmessageHandlerCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn UndefmessageHandler ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint , arg3 : * mut Environment ) -> bool ; } extern "C" { pub fn PPDefmessageHandlerCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn ListDefmessageHandlersCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn PreviewSendCommand ( arg1 : * mut Environment , arg2 : * mut UDFContext , arg3 : * mut UDFValue ) ; } extern "C" { pub fn DefmessageHandlerPPForm ( arg1 : * mut Defclass , arg2 : :: std :: os :: raw :: c_uint ) -> * const :: std :: os :: raw :: c_char ; } extern "C" { pub fn ListDefmessageHandlers ( arg1 : * mut Environment , arg2 : * mut Defclass , arg3 : * const :: std :: os :: raw :: c_char , arg4 : bool ) ; } extern "C" { pub fn PreviewSend ( arg1 : * mut Defclass , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * const :: std :: os :: raw :: c_char ) ; } extern "C" { pub fn DisplayHandlersInLinks ( arg1 : * mut Environment , arg2 : * const :: std :: os :: raw :: c_char , arg3 : * mut PACKED_CLASS_LINKS , arg4 : :: std :: os :: raw :: c_uint ) -> :: std :: os :: raw :: c_ulong ; } pub type __builtin_va_list = [ __va_list_tag ; 1usize ] ; # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ] pub struct __va_list_tag { pub gp_offset : :: std :: os :: raw :: c_uint , pub fp_offset : :: std :: os :: raw :: c_uint , pub overflow_arg_area : * mut :: std :: os :: raw :: c_void , pub reg_save_area : * mut :: std :: os :: raw :: c_void , } # [ test ] fn bindgen_test_layout___va_list_tag ( ) { assert_eq ! ( :: std :: mem :: size_of :: < __va_list_tag > ( ) , 24usize , concat ! ( "Size of: " , stringify ! ( __va_list_tag ) ) ) ; assert_eq ! ( :: std :: mem :: align_of :: < __va_list_tag > ( ) , 8usize , concat ! ( "Alignment of " , stringify ! ( __va_list_tag ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . gp_offset as * const _ as usize } , 0usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( gp_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . fp_offset as * const _ as usize } , 4usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( fp_offset ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . overflow_arg_area as * const _ as usize } , 8usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( overflow_arg_area ) ) ) ; assert_eq ! ( unsafe { & ( * ( :: std :: ptr :: null :: < __va_list_tag > ( ) ) ) . reg_save_area as * const _ as usize } , 16usize , concat ! ( "Offset of field: " , stringify ! ( __va_list_tag ) , "::" , stringify ! ( reg_save_area ) ) ) ; } impl Default for __va_list_tag { fn default ( ) -> Self { unsafe { :: std :: mem :: zeroed ( ) } } } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct portConstructItem { pub _address : u8 , } # [ repr ( C ) ] # [ derive ( Debug , Default , Copy , Clone ) ] pub struct __locale_data { pub _address : u8 , }