@@ -473,7 +473,21 @@ extern "C" {
473473 _Alignment : usize ,
474474 ) -> * mut :: std:: os:: raw:: c_void ;
475475}
476- pub type max_align_t = f64 ;
476+ extern "C" {
477+ pub fn _errno ( ) -> * mut :: std:: os:: raw:: c_int ;
478+ }
479+ extern "C" {
480+ pub fn _set_errno ( _Value : :: std:: os:: raw:: c_int ) -> errno_t ;
481+ }
482+ extern "C" {
483+ pub fn _get_errno ( _Value : * mut :: std:: os:: raw:: c_int ) -> errno_t ;
484+ }
485+ extern "C" {
486+ pub fn __threadid ( ) -> :: std:: os:: raw:: c_ulong ;
487+ }
488+ extern "C" {
489+ pub fn __threadhandle ( ) -> usize ;
490+ }
477491pub type _CoreCrtSecureSearchSortCompareFunction = :: std:: option:: Option <
478492 unsafe extern "C" fn (
479493 arg1 : * mut :: std:: os:: raw:: c_void ,
@@ -972,15 +986,6 @@ extern "C" {
972986extern "C" {
973987 pub fn _set_error_mode ( _Mode : :: std:: os:: raw:: c_int ) -> :: std:: os:: raw:: c_int ;
974988}
975- extern "C" {
976- pub fn _errno ( ) -> * mut :: std:: os:: raw:: c_int ;
977- }
978- extern "C" {
979- pub fn _set_errno ( _Value : :: std:: os:: raw:: c_int ) -> errno_t ;
980- }
981- extern "C" {
982- pub fn _get_errno ( _Value : * mut :: std:: os:: raw:: c_int ) -> errno_t ;
983- }
984989extern "C" {
985990 pub fn __doserrno ( ) -> * mut :: std:: os:: raw:: c_ulong ;
986991}
@@ -6660,6 +6665,18 @@ fn bindgen_test_layout_OrtCustomOp() {
66606665 )
66616666 ) ;
66626667}
6668+ extern "stdcall" {
6669+ pub fn OrtSessionOptionsAppendExecutionProvider_CPU (
6670+ options : * mut OrtSessionOptions ,
6671+ use_arena : :: std:: os:: raw:: c_int ,
6672+ ) -> OrtStatusPtr ;
6673+ }
6674+ extern "stdcall" {
6675+ pub fn OrtSessionOptionsAppendExecutionProvider_CUDA (
6676+ options : * mut OrtSessionOptions ,
6677+ device_id : :: std:: os:: raw:: c_int ,
6678+ ) -> OrtStatusPtr ;
6679+ }
66636680#[ repr( C ) ]
66646681#[ derive( Debug , Copy , Clone ) ]
66656682pub struct __crt_locale_data {
0 commit comments