mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 04:38:55 +00:00
Merge branch 'wip/nielsdg/null-terminated-annotations' into 'master'
Use G_GNUC_NULL_TERMINATED where appropriate See merge request GNOME/libsecret!65
This commit is contained in:
commit
e7214fa161
@ -27,7 +27,7 @@
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GHashTable * secret_attributes_build (const SecretSchema *schema,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
|
||||
GHashTable * secret_attributes_buildv (const SecretSchema *schema,
|
||||
va_list va);
|
||||
|
@ -46,13 +46,13 @@ void secret_password_storev (const SecretSchema *sche
|
||||
gpointer user_data);
|
||||
|
||||
void secret_password_store_binary (const SecretSchema *schema,
|
||||
const gchar *collection,
|
||||
const gchar *label,
|
||||
const char *collection,
|
||||
const char *label,
|
||||
SecretValue *value,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
|
||||
void secret_password_storev_binary (const SecretSchema *schema,
|
||||
GHashTable *attributes,
|
||||
@ -83,12 +83,12 @@ gboolean secret_password_storev_sync (const SecretSchema *sche
|
||||
GError **error);
|
||||
|
||||
gboolean secret_password_store_binary_sync (const SecretSchema *schema,
|
||||
const gchar *collection,
|
||||
const gchar *label,
|
||||
const char *collection,
|
||||
const char *label,
|
||||
SecretValue *value,
|
||||
GCancellable *cancellable,
|
||||
GError **error,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
|
||||
gboolean secret_password_storev_binary_sync (const SecretSchema *schema,
|
||||
GHashTable *attributes,
|
||||
@ -126,11 +126,11 @@ gchar * secret_password_lookup_sync (const SecretSchema *sche
|
||||
gchar * secret_password_lookup_nonpageable_sync (const SecretSchema *schema,
|
||||
GCancellable *cancellable,
|
||||
GError **error,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
SecretValue *secret_password_lookup_binary_sync (const SecretSchema *schema,
|
||||
GCancellable *cancellable,
|
||||
GError **error,
|
||||
...);
|
||||
...) G_GNUC_NULL_TERMINATED;
|
||||
|
||||
gchar * secret_password_lookupv_sync (const SecretSchema *schema,
|
||||
GHashTable *attributes,
|
||||
|
Loading…
Reference in New Issue
Block a user