@@ -1081,10 +1081,11 @@ const _: () = {
10811081 [ :: std:: mem:: offset_of!( _jl_genericmemory_t, ptr) - 8usize ] ;
10821082} ;
10831083pub type jl_genericmemory_t = _jl_genericmemory_t ;
1084+ pub type jl_hidden_ptr_ptr_or_offset_t = * mut :: std:: os:: raw:: c_void ;
10841085#[ repr( C ) ]
10851086#[ derive( Debug , Copy , Clone ) ]
10861087pub struct jl_genericmemoryref_t {
1087- pub ptr_or_offset : * mut :: std :: os :: raw :: c_void ,
1088+ pub ptr_or_offset : jl_hidden_ptr_ptr_or_offset_t ,
10881089 pub mem : * mut jl_genericmemory_t ,
10891090}
10901091#[ allow( clippy:: unnecessary_operation, clippy:: identity_op) ]
@@ -1883,10 +1884,11 @@ pub struct jl_typename_t {
18831884 pub _bitfield_1 : __BindgenBitfieldUnit < [ u8 ; 1usize ] > ,
18841885 pub max_methods : u8 ,
18851886 pub constprop_heustic : u8 ,
1887+ pub hiddenptrfields : * const u32 ,
18861888}
18871889#[ allow( clippy:: unnecessary_operation, clippy:: identity_op) ]
18881890const _: ( ) = {
1889- [ "Size of jl_typename_t" ] [ :: std:: mem:: size_of :: < jl_typename_t > ( ) - 104usize ] ;
1891+ [ "Size of jl_typename_t" ] [ :: std:: mem:: size_of :: < jl_typename_t > ( ) - 112usize ] ;
18901892 [ "Alignment of jl_typename_t" ] [ :: std:: mem:: align_of :: < jl_typename_t > ( ) - 8usize ] ;
18911893 [ "Offset of field: jl_typename_t::name" ] [ :: std:: mem:: offset_of!( jl_typename_t, name) - 0usize ] ;
18921894 [ "Offset of field: jl_typename_t::module" ]
@@ -1915,6 +1917,8 @@ const _: () = {
19151917 [ :: std:: mem:: offset_of!( jl_typename_t, max_methods) - 101usize ] ;
19161918 [ "Offset of field: jl_typename_t::constprop_heustic" ]
19171919 [ :: std:: mem:: offset_of!( jl_typename_t, constprop_heustic) - 102usize ] ;
1920+ [ "Offset of field: jl_typename_t::hiddenptrfields" ]
1921+ [ :: std:: mem:: offset_of!( jl_typename_t, hiddenptrfields) - 104usize ] ;
19181922} ;
19191923impl jl_typename_t {
19201924 #[ inline]
@@ -2082,7 +2086,9 @@ pub struct jl_datatype_layout_t {
20822086 pub size : u32 ,
20832087 pub nfields : u32 ,
20842088 pub npointers : u32 ,
2089+ pub nhidden_pointers : u32 ,
20852090 pub first_ptr : i32 ,
2091+ pub first_hidden_ptr : i32 ,
20862092 pub alignment : u16 ,
20872093 pub flags : jl_datatype_layout_t__bindgen_ty_1 ,
20882094}
@@ -2337,20 +2343,24 @@ impl jl_datatype_layout_t__bindgen_ty_1 {
23372343}
23382344#[ allow( clippy:: unnecessary_operation, clippy:: identity_op) ]
23392345const _: ( ) = {
2340- [ "Size of jl_datatype_layout_t" ] [ :: std:: mem:: size_of :: < jl_datatype_layout_t > ( ) - 20usize ] ;
2346+ [ "Size of jl_datatype_layout_t" ] [ :: std:: mem:: size_of :: < jl_datatype_layout_t > ( ) - 28usize ] ;
23412347 [ "Alignment of jl_datatype_layout_t" ] [ :: std:: mem:: align_of :: < jl_datatype_layout_t > ( ) - 4usize ] ;
23422348 [ "Offset of field: jl_datatype_layout_t::size" ]
23432349 [ :: std:: mem:: offset_of!( jl_datatype_layout_t, size) - 0usize ] ;
23442350 [ "Offset of field: jl_datatype_layout_t::nfields" ]
23452351 [ :: std:: mem:: offset_of!( jl_datatype_layout_t, nfields) - 4usize ] ;
23462352 [ "Offset of field: jl_datatype_layout_t::npointers" ]
23472353 [ :: std:: mem:: offset_of!( jl_datatype_layout_t, npointers) - 8usize ] ;
2354+ [ "Offset of field: jl_datatype_layout_t::nhidden_pointers" ]
2355+ [ :: std:: mem:: offset_of!( jl_datatype_layout_t, nhidden_pointers) - 12usize ] ;
23482356 [ "Offset of field: jl_datatype_layout_t::first_ptr" ]
2349- [ :: std:: mem:: offset_of!( jl_datatype_layout_t, first_ptr) - 12usize ] ;
2357+ [ :: std:: mem:: offset_of!( jl_datatype_layout_t, first_ptr) - 16usize ] ;
2358+ [ "Offset of field: jl_datatype_layout_t::first_hidden_ptr" ]
2359+ [ :: std:: mem:: offset_of!( jl_datatype_layout_t, first_hidden_ptr) - 20usize ] ;
23502360 [ "Offset of field: jl_datatype_layout_t::alignment" ]
2351- [ :: std:: mem:: offset_of!( jl_datatype_layout_t, alignment) - 16usize ] ;
2361+ [ :: std:: mem:: offset_of!( jl_datatype_layout_t, alignment) - 24usize ] ;
23522362 [ "Offset of field: jl_datatype_layout_t::flags" ]
2353- [ :: std:: mem:: offset_of!( jl_datatype_layout_t, flags) - 18usize ] ;
2363+ [ :: std:: mem:: offset_of!( jl_datatype_layout_t, flags) - 26usize ] ;
23542364} ;
23552365#[ repr( C ) ]
23562366#[ derive( Debug , Copy , Clone ) ]
@@ -3013,6 +3023,12 @@ const _: () = {
30133023} ;
30143024#[ repr( C ) ]
30153025#[ derive( Debug , Copy , Clone ) ]
3026+ pub struct pinned_ref < T > {
3027+ pub _phantom_0 : :: std:: marker:: PhantomData < :: std:: cell:: UnsafeCell < T > > ,
3028+ pub ptr : * mut T ,
3029+ }
3030+ #[ repr( C ) ]
3031+ #[ derive( Debug , Copy , Clone ) ]
30163032pub struct _jl_handler_t {
30173033 pub eh_ctx : sigjmp_buf ,
30183034 pub gcstack : * mut jl_gcframe_t ,
@@ -3056,7 +3072,7 @@ pub struct _jl_bt_element_t {
30563072#[ derive( Copy , Clone ) ]
30573073pub union _jl_bt_element_t__bindgen_ty_1 {
30583074 pub uintptr : usize ,
3059- pub jlvalue : * mut jl_value_t ,
3075+ pub jlvalue : pinned_ref < jl_value_t > ,
30603076}
30613077#[ allow( clippy:: unnecessary_operation, clippy:: identity_op) ]
30623078const _: ( ) = {
@@ -3425,3 +3441,10 @@ const _: () = {
34253441 [ "Align of template specialization: std_atomic_open0_intptr_t_close0" ]
34263442 [ :: std:: mem:: align_of :: < std_atomic < isize > > ( ) - 8usize ] ;
34273443} ;
3444+ #[ allow( clippy:: unnecessary_operation, clippy:: identity_op) ]
3445+ const _: ( ) = {
3446+ [ "Size of template specialization: pinned_ref_open0_jl_value_t_close0" ]
3447+ [ :: std:: mem:: size_of :: < pinned_ref < jl_value_t > > ( ) - 8usize ] ;
3448+ [ "Align of template specialization: pinned_ref_open0_jl_value_t_close0" ]
3449+ [ :: std:: mem:: align_of :: < pinned_ref < jl_value_t > > ( ) - 8usize ] ;
3450+ } ;
0 commit comments