From: Colin Walters Date: Tue, 19 Mar 2024 00:38:19 +0000 (-0400) Subject: sepolicy: Add missing `(nullable)` X-Git-Tag: archive/raspbian/2024.8-1+rpi1^2~7^2~2^2~16^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=45453b73e5b8996c8ed87d4a6887fc2ad0ab949a;p=ostree.git sepolicy: Add missing `(nullable)` This can return NULL if there's no real policy. Now obviously we need to update the Rust bindings too but... I am having trouble doing that, we're pretty out of date with upstream. --- diff --git a/src/libostree/ostree-sepolicy.c b/src/libostree/ostree-sepolicy.c index 54be6f59..2e6ec00e 100644 --- a/src/libostree/ostree-sepolicy.c +++ b/src/libostree/ostree-sepolicy.c @@ -497,7 +497,7 @@ ostree_sepolicy_get_path (OstreeSePolicy *self) * ostree_sepolicy_get_name: * @self: * - * Returns: (transfer none): Type of current policy + * Returns: (transfer none) (nullable): Type of current policy */ const char * ostree_sepolicy_get_name (OstreeSePolicy *self)