@@ -476,7 +476,21 @@ extern "C" {
476476 _Alignment : usize ,
477477 ) -> * mut :: std:: os:: raw:: c_void ;
478478}
479- pub type max_align_t = f64 ;
479+ extern "C" {
480+ pub fn _errno ( ) -> * mut :: std:: os:: raw:: c_int ;
481+ }
482+ extern "C" {
483+ pub fn _set_errno ( _Value : :: std:: os:: raw:: c_int ) -> errno_t ;
484+ }
485+ extern "C" {
486+ pub fn _get_errno ( _Value : * mut :: std:: os:: raw:: c_int ) -> errno_t ;
487+ }
488+ extern "C" {
489+ pub fn __threadid ( ) -> :: std:: os:: raw:: c_ulong ;
490+ }
491+ extern "C" {
492+ pub fn __threadhandle ( ) -> usize ;
493+ }
480494pub type _CoreCrtSecureSearchSortCompareFunction = :: std:: option:: Option <
481495 unsafe extern "C" fn (
482496 arg1 : * mut :: std:: os:: raw:: c_void ,
@@ -975,15 +989,6 @@ extern "C" {
975989extern "C" {
976990 pub fn _set_error_mode ( _Mode : :: std:: os:: raw:: c_int ) -> :: std:: os:: raw:: c_int ;
977991}
978- extern "C" {
979- pub fn _errno ( ) -> * mut :: std:: os:: raw:: c_int ;
980- }
981- extern "C" {
982- pub fn _set_errno ( _Value : :: std:: os:: raw:: c_int ) -> errno_t ;
983- }
984- extern "C" {
985- pub fn _get_errno ( _Value : * mut :: std:: os:: raw:: c_int ) -> errno_t ;
986- }
987992extern "C" {
988993 pub fn __doserrno ( ) -> * mut :: std:: os:: raw:: c_ulong ;
989994}
@@ -6626,6 +6631,18 @@ fn bindgen_test_layout_OrtCustomOp() {
66266631 )
66276632 ) ;
66286633}
6634+ extern "C" {
6635+ pub fn OrtSessionOptionsAppendExecutionProvider_CPU (
6636+ options : * mut OrtSessionOptions ,
6637+ use_arena : :: std:: os:: raw:: c_int ,
6638+ ) -> OrtStatusPtr ;
6639+ }
6640+ extern "C" {
6641+ pub fn OrtSessionOptionsAppendExecutionProvider_CUDA (
6642+ options : * mut OrtSessionOptions ,
6643+ device_id : :: std:: os:: raw:: c_int ,
6644+ ) -> OrtStatusPtr ;
6645+ }
66296646#[ repr( C ) ]
66306647#[ derive( Debug , Copy , Clone ) ]
66316648pub struct __crt_locale_data {
0 commit comments