@@ -476,7 +476,21 @@ extern "C" {
476
476
_Alignment : usize ,
477
477
) -> * mut :: std:: os:: raw:: c_void ;
478
478
}
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
+ }
480
494
pub type _CoreCrtSecureSearchSortCompareFunction = :: std:: option:: Option <
481
495
unsafe extern "C" fn (
482
496
arg1 : * mut :: std:: os:: raw:: c_void ,
@@ -975,15 +989,6 @@ extern "C" {
975
989
extern "C" {
976
990
pub fn _set_error_mode ( _Mode : :: std:: os:: raw:: c_int ) -> :: std:: os:: raw:: c_int ;
977
991
}
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
- }
987
992
extern "C" {
988
993
pub fn __doserrno ( ) -> * mut :: std:: os:: raw:: c_ulong ;
989
994
}
@@ -6626,6 +6631,18 @@ fn bindgen_test_layout_OrtCustomOp() {
6626
6631
)
6627
6632
) ;
6628
6633
}
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
+ }
6629
6646
#[ repr( C ) ]
6630
6647
#[ derive( Debug , Copy , Clone ) ]
6631
6648
pub struct __crt_locale_data {
0 commit comments