@@ -5993,6 +5993,355 @@ extern "C" {
5993
5993
arg4 : SEXP ,
5994
5994
) -> SEXP ;
5995
5995
}
5996
+ #[ repr( C ) ]
5997
+ #[ derive( Debug , Copy , Clone ) ]
5998
+ pub struct R_altrep_class_t {
5999
+ pub ptr : SEXP ,
6000
+ }
6001
+ #[ test]
6002
+ fn bindgen_test_layout_R_altrep_class_t ( ) {
6003
+ assert_eq ! (
6004
+ :: std:: mem:: size_of:: <R_altrep_class_t >( ) ,
6005
+ 8usize ,
6006
+ concat!( "Size of: " , stringify!( R_altrep_class_t ) )
6007
+ ) ;
6008
+ assert_eq ! (
6009
+ :: std:: mem:: align_of:: <R_altrep_class_t >( ) ,
6010
+ 8usize ,
6011
+ concat!( "Alignment of " , stringify!( R_altrep_class_t ) )
6012
+ ) ;
6013
+ assert_eq ! (
6014
+ unsafe { & ( * ( :: std:: ptr:: null:: <R_altrep_class_t >( ) ) ) . ptr as * const _ as usize } ,
6015
+ 0usize ,
6016
+ concat!(
6017
+ "Offset of field: " ,
6018
+ stringify!( R_altrep_class_t ) ,
6019
+ "::" ,
6020
+ stringify!( ptr)
6021
+ )
6022
+ ) ;
6023
+ }
6024
+ extern "C" {
6025
+ pub fn R_new_altrep ( aclass : R_altrep_class_t , data1 : SEXP , data2 : SEXP ) -> SEXP ;
6026
+ }
6027
+ extern "C" {
6028
+ pub fn R_make_altstring_class (
6029
+ cname : * const :: std:: os:: raw:: c_char ,
6030
+ pname : * const :: std:: os:: raw:: c_char ,
6031
+ info : * mut DllInfo ,
6032
+ ) -> R_altrep_class_t ;
6033
+ }
6034
+ extern "C" {
6035
+ pub fn R_make_altinteger_class (
6036
+ cname : * const :: std:: os:: raw:: c_char ,
6037
+ pname : * const :: std:: os:: raw:: c_char ,
6038
+ info : * mut DllInfo ,
6039
+ ) -> R_altrep_class_t ;
6040
+ }
6041
+ extern "C" {
6042
+ pub fn R_make_altreal_class (
6043
+ cname : * const :: std:: os:: raw:: c_char ,
6044
+ pname : * const :: std:: os:: raw:: c_char ,
6045
+ info : * mut DllInfo ,
6046
+ ) -> R_altrep_class_t ;
6047
+ }
6048
+ extern "C" {
6049
+ pub fn R_make_altlogical_class (
6050
+ cname : * const :: std:: os:: raw:: c_char ,
6051
+ pname : * const :: std:: os:: raw:: c_char ,
6052
+ info : * mut DllInfo ,
6053
+ ) -> R_altrep_class_t ;
6054
+ }
6055
+ extern "C" {
6056
+ pub fn R_make_altraw_class (
6057
+ cname : * const :: std:: os:: raw:: c_char ,
6058
+ pname : * const :: std:: os:: raw:: c_char ,
6059
+ info : * mut DllInfo ,
6060
+ ) -> R_altrep_class_t ;
6061
+ }
6062
+ extern "C" {
6063
+ pub fn R_make_altcomplex_class (
6064
+ cname : * const :: std:: os:: raw:: c_char ,
6065
+ pname : * const :: std:: os:: raw:: c_char ,
6066
+ info : * mut DllInfo ,
6067
+ ) -> R_altrep_class_t ;
6068
+ }
6069
+ extern "C" {
6070
+ pub fn R_altrep_inherits ( x : SEXP , arg1 : R_altrep_class_t ) -> Rboolean ;
6071
+ }
6072
+ pub type R_altrep_UnserializeEX_method_t = :: std:: option:: Option <
6073
+ unsafe extern "C" fn (
6074
+ arg1 : SEXP ,
6075
+ arg2 : SEXP ,
6076
+ arg3 : SEXP ,
6077
+ arg4 : :: std:: os:: raw:: c_int ,
6078
+ arg5 : :: std:: os:: raw:: c_int ,
6079
+ ) -> SEXP ,
6080
+ > ;
6081
+ pub type R_altrep_Unserialize_method_t =
6082
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : SEXP ) -> SEXP > ;
6083
+ pub type R_altrep_Serialized_state_method_t =
6084
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> SEXP > ;
6085
+ pub type R_altrep_DuplicateEX_method_t =
6086
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6087
+ pub type R_altrep_Duplicate_method_t =
6088
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6089
+ pub type R_altrep_Coerce_method_t =
6090
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : :: std:: os:: raw:: c_int ) -> SEXP > ;
6091
+ pub type R_altrep_Inspect_method_t = :: std:: option:: Option <
6092
+ unsafe extern "C" fn (
6093
+ arg1 : SEXP ,
6094
+ arg2 : :: std:: os:: raw:: c_int ,
6095
+ arg3 : :: std:: os:: raw:: c_int ,
6096
+ arg4 : :: std:: os:: raw:: c_int ,
6097
+ arg5 : :: std:: option:: Option <
6098
+ unsafe extern "C" fn (
6099
+ arg1 : SEXP ,
6100
+ arg2 : :: std:: os:: raw:: c_int ,
6101
+ arg3 : :: std:: os:: raw:: c_int ,
6102
+ arg4 : :: std:: os:: raw:: c_int ,
6103
+ ) ,
6104
+ > ,
6105
+ ) -> Rboolean ,
6106
+ > ;
6107
+ pub type R_altrep_Length_method_t =
6108
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> R_xlen_t > ;
6109
+ pub type R_altvec_Dataptr_method_t = :: std:: option:: Option <
6110
+ unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> * mut :: std:: os:: raw:: c_void ,
6111
+ > ;
6112
+ pub type R_altvec_Dataptr_or_null_method_t =
6113
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> * const :: std:: os:: raw:: c_void > ;
6114
+ pub type R_altvec_Extract_subset_method_t =
6115
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : SEXP , arg3 : SEXP ) -> SEXP > ;
6116
+ pub type R_altinteger_Elt_method_t = :: std:: option:: Option <
6117
+ unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t ) -> :: std:: os:: raw:: c_int ,
6118
+ > ;
6119
+ pub type R_altinteger_Get_region_method_t = :: std:: option:: Option <
6120
+ unsafe extern "C" fn (
6121
+ arg1 : SEXP ,
6122
+ arg2 : R_xlen_t ,
6123
+ arg3 : R_xlen_t ,
6124
+ arg4 : * mut :: std:: os:: raw:: c_int ,
6125
+ ) -> R_xlen_t ,
6126
+ > ;
6127
+ pub type R_altinteger_Is_sorted_method_t =
6128
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> :: std:: os:: raw:: c_int > ;
6129
+ pub type R_altinteger_No_NA_method_t =
6130
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> :: std:: os:: raw:: c_int > ;
6131
+ pub type R_altinteger_Sum_method_t =
6132
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6133
+ pub type R_altinteger_Min_method_t =
6134
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6135
+ pub type R_altinteger_Max_method_t =
6136
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6137
+ pub type R_altreal_Elt_method_t =
6138
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t ) -> f64 > ;
6139
+ pub type R_altreal_Get_region_method_t = :: std:: option:: Option <
6140
+ unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t , arg3 : R_xlen_t , arg4 : * mut f64 ) -> R_xlen_t ,
6141
+ > ;
6142
+ pub type R_altreal_Is_sorted_method_t =
6143
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> :: std:: os:: raw:: c_int > ;
6144
+ pub type R_altreal_No_NA_method_t =
6145
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> :: std:: os:: raw:: c_int > ;
6146
+ pub type R_altreal_Sum_method_t =
6147
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6148
+ pub type R_altreal_Min_method_t =
6149
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6150
+ pub type R_altreal_Max_method_t =
6151
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6152
+ pub type R_altlogical_Elt_method_t = :: std:: option:: Option <
6153
+ unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t ) -> :: std:: os:: raw:: c_int ,
6154
+ > ;
6155
+ pub type R_altlogical_Get_region_method_t = :: std:: option:: Option <
6156
+ unsafe extern "C" fn (
6157
+ arg1 : SEXP ,
6158
+ arg2 : R_xlen_t ,
6159
+ arg3 : R_xlen_t ,
6160
+ arg4 : * mut :: std:: os:: raw:: c_int ,
6161
+ ) -> R_xlen_t ,
6162
+ > ;
6163
+ pub type R_altlogical_Is_sorted_method_t =
6164
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> :: std:: os:: raw:: c_int > ;
6165
+ pub type R_altlogical_No_NA_method_t =
6166
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> :: std:: os:: raw:: c_int > ;
6167
+ pub type R_altlogical_Sum_method_t =
6168
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : Rboolean ) -> SEXP > ;
6169
+ pub type R_altraw_Elt_method_t =
6170
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t ) -> Rbyte > ;
6171
+ pub type R_altraw_Get_region_method_t = :: std:: option:: Option <
6172
+ unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t , arg3 : R_xlen_t , arg4 : * mut Rbyte ) -> R_xlen_t ,
6173
+ > ;
6174
+ pub type R_altcomplex_Elt_method_t =
6175
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t ) -> Rcomplex > ;
6176
+ pub type R_altcomplex_Get_region_method_t = :: std:: option:: Option <
6177
+ unsafe extern "C" fn (
6178
+ arg1 : SEXP ,
6179
+ arg2 : R_xlen_t ,
6180
+ arg3 : R_xlen_t ,
6181
+ arg4 : * mut Rcomplex ,
6182
+ ) -> R_xlen_t ,
6183
+ > ;
6184
+ pub type R_altstring_Elt_method_t =
6185
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t ) -> SEXP > ;
6186
+ pub type R_altstring_Set_elt_method_t =
6187
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP , arg2 : R_xlen_t , arg3 : SEXP ) > ;
6188
+ pub type R_altstring_Is_sorted_method_t =
6189
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> :: std:: os:: raw:: c_int > ;
6190
+ pub type R_altstring_No_NA_method_t =
6191
+ :: std:: option:: Option < unsafe extern "C" fn ( arg1 : SEXP ) -> :: std:: os:: raw:: c_int > ;
6192
+ extern "C" {
6193
+ pub fn R_set_altrep_UnserializeEX_method (
6194
+ cls : R_altrep_class_t ,
6195
+ fun : R_altrep_UnserializeEX_method_t ,
6196
+ ) ;
6197
+ }
6198
+ extern "C" {
6199
+ pub fn R_set_altrep_Unserialize_method (
6200
+ cls : R_altrep_class_t ,
6201
+ fun : R_altrep_Unserialize_method_t ,
6202
+ ) ;
6203
+ }
6204
+ extern "C" {
6205
+ pub fn R_set_altrep_Serialized_state_method (
6206
+ cls : R_altrep_class_t ,
6207
+ fun : R_altrep_Serialized_state_method_t ,
6208
+ ) ;
6209
+ }
6210
+ extern "C" {
6211
+ pub fn R_set_altrep_DuplicateEX_method (
6212
+ cls : R_altrep_class_t ,
6213
+ fun : R_altrep_DuplicateEX_method_t ,
6214
+ ) ;
6215
+ }
6216
+ extern "C" {
6217
+ pub fn R_set_altrep_Duplicate_method ( cls : R_altrep_class_t , fun : R_altrep_Duplicate_method_t ) ;
6218
+ }
6219
+ extern "C" {
6220
+ pub fn R_set_altrep_Coerce_method ( cls : R_altrep_class_t , fun : R_altrep_Coerce_method_t ) ;
6221
+ }
6222
+ extern "C" {
6223
+ pub fn R_set_altrep_Inspect_method ( cls : R_altrep_class_t , fun : R_altrep_Inspect_method_t ) ;
6224
+ }
6225
+ extern "C" {
6226
+ pub fn R_set_altrep_Length_method ( cls : R_altrep_class_t , fun : R_altrep_Length_method_t ) ;
6227
+ }
6228
+ extern "C" {
6229
+ pub fn R_set_altvec_Dataptr_method ( cls : R_altrep_class_t , fun : R_altvec_Dataptr_method_t ) ;
6230
+ }
6231
+ extern "C" {
6232
+ pub fn R_set_altvec_Dataptr_or_null_method (
6233
+ cls : R_altrep_class_t ,
6234
+ fun : R_altvec_Dataptr_or_null_method_t ,
6235
+ ) ;
6236
+ }
6237
+ extern "C" {
6238
+ pub fn R_set_altvec_Extract_subset_method (
6239
+ cls : R_altrep_class_t ,
6240
+ fun : R_altvec_Extract_subset_method_t ,
6241
+ ) ;
6242
+ }
6243
+ extern "C" {
6244
+ pub fn R_set_altinteger_Elt_method ( cls : R_altrep_class_t , fun : R_altinteger_Elt_method_t ) ;
6245
+ }
6246
+ extern "C" {
6247
+ pub fn R_set_altinteger_Get_region_method (
6248
+ cls : R_altrep_class_t ,
6249
+ fun : R_altinteger_Get_region_method_t ,
6250
+ ) ;
6251
+ }
6252
+ extern "C" {
6253
+ pub fn R_set_altinteger_Is_sorted_method (
6254
+ cls : R_altrep_class_t ,
6255
+ fun : R_altinteger_Is_sorted_method_t ,
6256
+ ) ;
6257
+ }
6258
+ extern "C" {
6259
+ pub fn R_set_altinteger_No_NA_method ( cls : R_altrep_class_t , fun : R_altinteger_No_NA_method_t ) ;
6260
+ }
6261
+ extern "C" {
6262
+ pub fn R_set_altinteger_Sum_method ( cls : R_altrep_class_t , fun : R_altinteger_Sum_method_t ) ;
6263
+ }
6264
+ extern "C" {
6265
+ pub fn R_set_altinteger_Min_method ( cls : R_altrep_class_t , fun : R_altinteger_Min_method_t ) ;
6266
+ }
6267
+ extern "C" {
6268
+ pub fn R_set_altinteger_Max_method ( cls : R_altrep_class_t , fun : R_altinteger_Max_method_t ) ;
6269
+ }
6270
+ extern "C" {
6271
+ pub fn R_set_altreal_Elt_method ( cls : R_altrep_class_t , fun : R_altreal_Elt_method_t ) ;
6272
+ }
6273
+ extern "C" {
6274
+ pub fn R_set_altreal_Get_region_method (
6275
+ cls : R_altrep_class_t ,
6276
+ fun : R_altreal_Get_region_method_t ,
6277
+ ) ;
6278
+ }
6279
+ extern "C" {
6280
+ pub fn R_set_altreal_Is_sorted_method ( cls : R_altrep_class_t , fun : R_altreal_Is_sorted_method_t ) ;
6281
+ }
6282
+ extern "C" {
6283
+ pub fn R_set_altreal_No_NA_method ( cls : R_altrep_class_t , fun : R_altreal_No_NA_method_t ) ;
6284
+ }
6285
+ extern "C" {
6286
+ pub fn R_set_altreal_Sum_method ( cls : R_altrep_class_t , fun : R_altreal_Sum_method_t ) ;
6287
+ }
6288
+ extern "C" {
6289
+ pub fn R_set_altreal_Min_method ( cls : R_altrep_class_t , fun : R_altreal_Min_method_t ) ;
6290
+ }
6291
+ extern "C" {
6292
+ pub fn R_set_altreal_Max_method ( cls : R_altrep_class_t , fun : R_altreal_Max_method_t ) ;
6293
+ }
6294
+ extern "C" {
6295
+ pub fn R_set_altlogical_Elt_method ( cls : R_altrep_class_t , fun : R_altlogical_Elt_method_t ) ;
6296
+ }
6297
+ extern "C" {
6298
+ pub fn R_set_altlogical_Get_region_method (
6299
+ cls : R_altrep_class_t ,
6300
+ fun : R_altlogical_Get_region_method_t ,
6301
+ ) ;
6302
+ }
6303
+ extern "C" {
6304
+ pub fn R_set_altlogical_Is_sorted_method (
6305
+ cls : R_altrep_class_t ,
6306
+ fun : R_altlogical_Is_sorted_method_t ,
6307
+ ) ;
6308
+ }
6309
+ extern "C" {
6310
+ pub fn R_set_altlogical_No_NA_method ( cls : R_altrep_class_t , fun : R_altlogical_No_NA_method_t ) ;
6311
+ }
6312
+ extern "C" {
6313
+ pub fn R_set_altlogical_Sum_method ( cls : R_altrep_class_t , fun : R_altlogical_Sum_method_t ) ;
6314
+ }
6315
+ extern "C" {
6316
+ pub fn R_set_altraw_Elt_method ( cls : R_altrep_class_t , fun : R_altraw_Elt_method_t ) ;
6317
+ }
6318
+ extern "C" {
6319
+ pub fn R_set_altraw_Get_region_method ( cls : R_altrep_class_t , fun : R_altraw_Get_region_method_t ) ;
6320
+ }
6321
+ extern "C" {
6322
+ pub fn R_set_altcomplex_Elt_method ( cls : R_altrep_class_t , fun : R_altcomplex_Elt_method_t ) ;
6323
+ }
6324
+ extern "C" {
6325
+ pub fn R_set_altcomplex_Get_region_method (
6326
+ cls : R_altrep_class_t ,
6327
+ fun : R_altcomplex_Get_region_method_t ,
6328
+ ) ;
6329
+ }
6330
+ extern "C" {
6331
+ pub fn R_set_altstring_Elt_method ( cls : R_altrep_class_t , fun : R_altstring_Elt_method_t ) ;
6332
+ }
6333
+ extern "C" {
6334
+ pub fn R_set_altstring_Set_elt_method ( cls : R_altrep_class_t , fun : R_altstring_Set_elt_method_t ) ;
6335
+ }
6336
+ extern "C" {
6337
+ pub fn R_set_altstring_Is_sorted_method (
6338
+ cls : R_altrep_class_t ,
6339
+ fun : R_altstring_Is_sorted_method_t ,
6340
+ ) ;
6341
+ }
6342
+ extern "C" {
6343
+ pub fn R_set_altstring_No_NA_method ( cls : R_altrep_class_t , fun : R_altstring_No_NA_method_t ) ;
6344
+ }
5996
6345
extern "C" {
5997
6346
pub fn R_GE_getVersion ( ) -> :: std:: os:: raw:: c_int ;
5998
6347
}
0 commit comments