[X2Go-Commits] [libx2goclient] 76/132: src/x2goclient-utils.{c, h}: gtk-doc is unable to parse "const long long argument_name" correctly, rewrite as "const long long int argument_name".
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 3 15:26:32 CET 2021
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository libx2goclient.
commit fb25d369b1c214c6daf976a4652618371b7d11bc
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon May 31 23:44:47 2021 +0200
src/x2goclient-utils.{c,h}: gtk-doc is unable to parse "const long long argument_name" correctly, rewrite as "const long long int argument_name".
The former version is incorrectly parsed into modifiers "const long
long" and type "argument_name".
---
src/x2goclient-utils.c | 2 +-
src/x2goclient-utils.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/x2goclient-utils.c b/src/x2goclient-utils.c
index 5113c66..f5d0265 100644
--- a/src/x2goclient-utils.c
+++ b/src/x2goclient-utils.c
@@ -111,7 +111,7 @@ void x2goclient_clear_strings (gpointer data) {
*
* Since: 0.0.5
*/
-long long x2goclient_str_to_int (const gchar * const restrict str, const _Bool min, const long long limit_min, const _Bool max, const long long limit_max, const gchar ** const restrict end, _Bool * const restrict conv_err, _Bool * const restrict min_err, _Bool * const restrict max_err) {
+long long x2goclient_str_to_int (const gchar * const restrict str, const _Bool min, const long long int limit_min, const _Bool max, const long long int limit_max, const gchar ** const restrict end, _Bool * const restrict conv_err, _Bool * const restrict min_err, _Bool * const restrict max_err) {
long long ret = 42;
*min_err = *max_err = FALSE;
diff --git a/src/x2goclient-utils.h b/src/x2goclient-utils.h
index a4141a0..270bed8 100644
--- a/src/x2goclient-utils.h
+++ b/src/x2goclient-utils.h
@@ -135,7 +135,7 @@ G_BEGIN_DECLS
void x2goclient_clear_strings (gpointer const data);
-long long x2goclient_str_to_int (const gchar * const restrict str, const _Bool min, const long long limit_min, const _Bool max, const long long limit_max, const gchar ** const restrict end, _Bool * const restrict conv_err, _Bool * const restrict min_err, _Bool * const restrict max_err);
+long long x2goclient_str_to_int (const gchar * const restrict str, const _Bool min, const long long int limit_min, const _Bool max, const long long int limit_max, const gchar ** const restrict end, _Bool * const restrict conv_err, _Bool * const restrict min_err, _Bool * const restrict max_err);
gchar* x2goclient_strbrk_dup (gchar * restrict * const haystack, const char needle, const _Bool free_orig, gsize * const new_size);
gchar* x2goclient_bool_to_str (const gboolean in);
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git
More information about the x2go-commits
mailing list