@@ -3295,6 +3295,9 @@ extern "C" {
32953295 pub fn g_date_get_monday_week_of_year ( date : * const GDate ) -> c_uint ;
32963296 pub fn g_date_get_month ( date : * const GDate ) -> GDateMonth ;
32973297 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 ;
32983301 pub fn g_date_get_weekday ( date : * const GDate ) -> GDateWeekday ;
32993302 pub fn g_date_get_year ( date : * const GDate ) -> GDateYear ;
33003303 pub fn g_date_is_first_of_month ( date : * const GDate ) -> gboolean ;
@@ -3317,6 +3320,9 @@ extern "C" {
33173320 pub fn g_date_get_days_in_month ( month : GDateMonth , year : GDateYear ) -> u8 ;
33183321 pub fn g_date_get_monday_weeks_in_year ( year : GDateYear ) -> u8 ;
33193322 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 ;
33203326 pub fn g_date_is_leap_year ( year : GDateYear ) -> gboolean ;
33213327 pub fn g_date_strftime (
33223328 s : * mut c_char ,
@@ -6354,11 +6360,22 @@ extern "C" {
63546360 ) -> size_t ;
63556361 pub fn g_basename ( file_name : * const c_char ) -> * const c_char ;
63566362 pub fn g_bit_lock ( address : * mut c_int , lock_bit : c_int ) ;
6363+ #[ cfg( feature = "v2_86" ) ]
6364+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_86" ) ) ) ]
6365+ pub fn g_bit_lock_and_get ( address : * mut c_int , lock_bit : c_uint , out_val : * mut c_int ) ;
63576366 pub fn g_bit_nth_lsf ( mask : c_ulong , nth_bit : c_int ) -> c_int ;
63586367 pub fn g_bit_nth_msf ( mask : c_ulong , nth_bit : c_int ) -> c_int ;
63596368 pub fn g_bit_storage ( number : c_ulong ) -> c_uint ;
63606369 pub fn g_bit_trylock ( address : * mut c_int , lock_bit : c_int ) -> gboolean ;
63616370 pub fn g_bit_unlock ( address : * mut c_int , lock_bit : c_int ) ;
6371+ #[ cfg( feature = "v2_86" ) ]
6372+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_86" ) ) ) ]
6373+ pub fn g_bit_unlock_and_set (
6374+ address : * mut c_int ,
6375+ lock_bit : c_uint ,
6376+ new_val : c_int ,
6377+ preserve_mask : c_int ,
6378+ ) ;
63626379 pub fn g_build_filename ( first_element : * const c_char , ...) -> * mut c_char ;
63636380 //pub fn g_build_filename_valist(first_element: *const c_char, args: /*Unimplemented*/*mut va_list) -> *mut c_char;
63646381 pub fn g_build_filenamev ( args : * mut * mut c_char ) -> * mut c_char ;
0 commit comments