File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ ignore = [
15
15
" Gio.ThreadedResolverClass"
16
16
]
17
17
18
+ [[object ]]
19
+ name = " Gio.Credentials"
20
+ status = " generate"
21
+ [[object .function ]]
22
+ pattern = " [gs]et_unix.*"
23
+ cfg_condition = " unix"
24
+
18
25
[[object ]]
19
26
name = " Gio.SocketFamily"
20
27
status = " manual"
Original file line number Diff line number Diff line change @@ -10391,10 +10391,14 @@ extern "C" {
10391
10391
credentials: *mut GCredentials,
10392
10392
native_type: GCredentialsType,
10393
10393
) -> gpointer;
10394
+ #[cfg(unix)]
10395
+ #[cfg_attr(docsrs, doc(cfg(unix)))]
10394
10396
pub fn g_credentials_get_unix_pid(
10395
10397
credentials: *mut GCredentials,
10396
10398
error: *mut *mut glib::GError,
10397
10399
) -> pid_t;
10400
+ #[cfg(unix)]
10401
+ #[cfg_attr(docsrs, doc(cfg(unix)))]
10398
10402
pub fn g_credentials_get_unix_user(
10399
10403
credentials: *mut GCredentials,
10400
10404
error: *mut *mut glib::GError,
@@ -10409,6 +10413,8 @@ extern "C" {
10409
10413
native_type: GCredentialsType,
10410
10414
native: gpointer,
10411
10415
);
10416
+ #[cfg(unix)]
10417
+ #[cfg_attr(docsrs, doc(cfg(unix)))]
10412
10418
pub fn g_credentials_set_unix_user(
10413
10419
credentials: *mut GCredentials,
10414
10420
uid: uid_t,
You can’t perform that action at this time.
0 commit comments