@@ -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 ,
@@ -5232,6 +5238,9 @@ extern "C" {
52325238 pub fn g_string_ascii_down ( string : * mut GString ) -> * mut GString ;
52335239 pub fn g_string_ascii_up ( string : * mut GString ) -> * mut GString ;
52345240 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 ;
52355244 pub fn g_string_down ( string : * mut GString ) -> * mut GString ;
52365245 pub fn g_string_equal ( v : * const GString , v2 : * const GString ) -> gboolean ;
52375246 pub fn g_string_erase ( string : * mut GString , pos : ssize_t , len : ssize_t ) -> * mut GString ;
@@ -6354,11 +6363,22 @@ extern "C" {
63546363 ) -> size_t ;
63556364 pub fn g_basename ( file_name : * const c_char ) -> * const c_char ;
63566365 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 ) ;
63576369 pub fn g_bit_nth_lsf ( mask : c_ulong , nth_bit : c_int ) -> c_int ;
63586370 pub fn g_bit_nth_msf ( mask : c_ulong , nth_bit : c_int ) -> c_int ;
63596371 pub fn g_bit_storage ( number : c_ulong ) -> c_uint ;
63606372 pub fn g_bit_trylock ( address : * mut c_int , lock_bit : c_int ) -> gboolean ;
63616373 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+ ) ;
63626382 pub fn g_build_filename ( first_element : * const c_char , ...) -> * mut c_char ;
63636383 //pub fn g_build_filename_valist(first_element: *const c_char, args: /*Unimplemented*/*mut va_list) -> *mut c_char;
63646384 pub fn g_build_filenamev ( args : * mut * mut c_char ) -> * mut c_char ;
0 commit comments