File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,10 @@ status = "generate"
74
74
# see https://gitlab.gnome.org/GNOME/glib/-/issues/3231 + majority of those are available through std
75
75
ignore = true
76
76
[[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 ]]
77
81
name = " unix_get_passwd_entry"
78
82
cfg_condition = " unix"
79
83
[[object .function ]]
Original file line number Diff line number Diff line change @@ -6280,7 +6280,6 @@ extern "C" {
6280
6280
#[ cfg_attr( docsrs, doc( cfg( feature = "v2_74" ) ) ) ]
6281
6281
pub fn g_atomic_int_exchange ( atomic : * mut gint , newval : c_int ) -> c_int ;
6282
6282
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 ;
6284
6283
pub fn g_atomic_int_inc ( atomic : * mut gint ) ;
6285
6284
pub fn g_atomic_int_or ( atomic : * mut guint , val : c_uint ) -> c_uint ;
6286
6285
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,8 @@ mod win32 {
120
120
pub fn g_win32_get_windows_version ( ) -> c_uint ;
121
121
}
122
122
}
123
+
124
+
125
+ extern "C" {
126
+ pub fn g_atomic_int_get ( atomic : * const c_int ) -> c_int ;
127
+ }
You can’t perform that action at this time.
0 commit comments