File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ status = "generate"
7474 # see https://gitlab.gnome.org/GNOME/glib/-/issues/3231 + majority of those are available through std
7575 ignore = true
7676 [[object .function ]]
77+ name = " atomic_int_get"
78+ # generates a type using *const volatile instead of *const gint or so.
79+ manual = true
80+ [[object .function ]]
7781 name = " unix_get_passwd_entry"
7882 cfg_condition = " unix"
7983 [[object .function ]]
Original file line number Diff line number Diff line change @@ -6280,7 +6280,6 @@ extern "C" {
62806280 #[ cfg_attr( docsrs, doc( cfg( feature = "v2_74" ) ) ) ]
62816281 pub fn g_atomic_int_exchange ( atomic : * mut gint , newval : c_int ) -> c_int ;
62826282 pub fn g_atomic_int_exchange_and_add ( atomic : * mut gint , val : c_int ) -> c_int ;
6283- pub fn g_atomic_int_get ( atomic : * const volatile ) -> c_int ;
62846283 pub fn g_atomic_int_inc ( atomic : * mut gint ) ;
62856284 pub fn g_atomic_int_or ( atomic : * mut guint , val : c_uint ) -> c_uint ;
62866285 pub fn g_atomic_int_set ( atomic : * mut gint , newval : c_int ) ;
Original file line number Diff line number Diff line change @@ -120,3 +120,7 @@ mod win32 {
120120 pub fn g_win32_get_windows_version ( ) -> c_uint ;
121121 }
122122}
123+
124+ extern "C" {
125+ pub fn g_atomic_int_get ( atomic : * const c_int ) -> c_int ;
126+ }
You can’t perform that action at this time.
0 commit comments