@@ -3295,6 +3295,9 @@ extern "C" {
3295
3295
pub fn g_date_get_monday_week_of_year ( date : * const GDate ) -> c_uint ;
3296
3296
pub fn g_date_get_month ( date : * const GDate ) -> GDateMonth ;
3297
3297
pub fn g_date_get_sunday_week_of_year ( date : * const GDate ) -> c_uint ;
3298
+ #[ cfg( feature = "v2_86" ) ]
3299
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_86" ) ) ) ]
3300
+ pub fn g_date_get_week_of_year ( date : * const GDate , first_day_of_week : GDateWeekday ) -> c_uint ;
3298
3301
pub fn g_date_get_weekday ( date : * const GDate ) -> GDateWeekday ;
3299
3302
pub fn g_date_get_year ( date : * const GDate ) -> GDateYear ;
3300
3303
pub fn g_date_is_first_of_month ( date : * const GDate ) -> gboolean ;
@@ -3317,6 +3320,9 @@ extern "C" {
3317
3320
pub fn g_date_get_days_in_month ( month : GDateMonth , year : GDateYear ) -> u8 ;
3318
3321
pub fn g_date_get_monday_weeks_in_year ( year : GDateYear ) -> u8 ;
3319
3322
pub fn g_date_get_sunday_weeks_in_year ( year : GDateYear ) -> u8 ;
3323
+ #[ cfg( feature = "v2_86" ) ]
3324
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_86" ) ) ) ]
3325
+ pub fn g_date_get_weeks_in_year ( year : GDateYear , first_day_of_week : GDateWeekday ) -> u8 ;
3320
3326
pub fn g_date_is_leap_year ( year : GDateYear ) -> gboolean ;
3321
3327
pub fn g_date_strftime (
3322
3328
s : * mut c_char ,
@@ -5232,6 +5238,9 @@ extern "C" {
5232
5238
pub fn g_string_ascii_down ( string : * mut GString ) -> * mut GString ;
5233
5239
pub fn g_string_ascii_up ( string : * mut GString ) -> * mut GString ;
5234
5240
pub fn g_string_assign ( string : * mut GString , rval : * const c_char ) -> * mut GString ;
5241
+ #[ cfg( feature = "v2_86" ) ]
5242
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_86" ) ) ) ]
5243
+ pub fn g_string_copy ( string : * mut GString ) -> * mut GString ;
5235
5244
pub fn g_string_down ( string : * mut GString ) -> * mut GString ;
5236
5245
pub fn g_string_equal ( v : * const GString , v2 : * const GString ) -> gboolean ;
5237
5246
pub fn g_string_erase ( string : * mut GString , pos : ssize_t , len : ssize_t ) -> * mut GString ;
@@ -6354,11 +6363,22 @@ extern "C" {
6354
6363
) -> size_t ;
6355
6364
pub fn g_basename ( file_name : * const c_char ) -> * const c_char ;
6356
6365
pub fn g_bit_lock ( address : * mut c_int , lock_bit : c_int ) ;
6366
+ #[ cfg( feature = "v2_86" ) ]
6367
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_86" ) ) ) ]
6368
+ pub fn g_bit_lock_and_get ( address : * mut c_int , lock_bit : c_uint , out_val : * mut c_int ) ;
6357
6369
pub fn g_bit_nth_lsf ( mask : c_ulong , nth_bit : c_int ) -> c_int ;
6358
6370
pub fn g_bit_nth_msf ( mask : c_ulong , nth_bit : c_int ) -> c_int ;
6359
6371
pub fn g_bit_storage ( number : c_ulong ) -> c_uint ;
6360
6372
pub fn g_bit_trylock ( address : * mut c_int , lock_bit : c_int ) -> gboolean ;
6361
6373
pub fn g_bit_unlock ( address : * mut c_int , lock_bit : c_int ) ;
6374
+ #[ cfg( feature = "v2_86" ) ]
6375
+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_86" ) ) ) ]
6376
+ pub fn g_bit_unlock_and_set (
6377
+ address : * mut c_int ,
6378
+ lock_bit : c_uint ,
6379
+ new_val : c_int ,
6380
+ preserve_mask : c_int ,
6381
+ ) ;
6362
6382
pub fn g_build_filename ( first_element : * const c_char , ...) -> * mut c_char ;
6363
6383
//pub fn g_build_filename_valist(first_element: *const c_char, args: /*Unimplemented*/*mut va_list) -> *mut c_char;
6364
6384
pub fn g_build_filenamev ( args : * mut * mut c_char ) -> * mut c_char ;
0 commit comments