Skip to content

Commit

Permalink
utils: Move API doc from source to header
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Dahl <[email protected]>
  • Loading branch information
LeSpocky committed Sep 28, 2021
1 parent 23a71f5 commit 9c44b3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions include/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,19 @@ G_GNUC_WARN_UNUSED_RESULT;
gboolean check_remaining_keys(GKeyFile *key_file, const gchar *groupname, GError **error)
G_GNUC_WARN_UNUSED_RESULT;

/**
* Get string argument from key and remove key from key_file.
*/
gchar * key_file_consume_string(
GKeyFile *key_file,
const gchar *group_name,
const gchar *key,
GError **error)
G_GNUC_WARN_UNUSED_RESULT;

/**
* Get integer argument from key and remove key from key_file.
*/
gint key_file_consume_integer(
GKeyFile *key_file,
const gchar *group_name,
Expand Down
2 changes: 0 additions & 2 deletions src/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ gboolean check_remaining_keys(GKeyFile *key_file, const gchar *groupname, GError
return TRUE;
}

/* get string argument from key and remove key from key_file */
gchar * key_file_consume_string(
GKeyFile *key_file,
const gchar *group_name,
Expand Down Expand Up @@ -211,7 +210,6 @@ gchar * key_file_consume_string(
return result;
}

/* get integer argument from key and remove key from key_file */
gint key_file_consume_integer(
GKeyFile *key_file,
const gchar *group_name,
Expand Down

0 comments on commit 9c44b3e

Please sign in to comment.