diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-15 10:53:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-15 10:53:33 +0100 |
commit | ee687c87ed189ee0cbd06578f4bb98505d6d2f9e (patch) | |
tree | 960c11a172c4a85ad0d755f6d46bbbc9be3fddb3 | |
parent | c97979d00ab68915b0d354a1424e420ef84b7723 (diff) | |
download | exchange-ee687c87ed189ee0cbd06578f4bb98505d6d2f9e.tar.xz |
-better types
m--------- | contrib/gana | 0 | ||||
-rw-r--r-- | src/json/json_helper.c | 12 |
2 files changed, 6 insertions, 6 deletions
diff --git a/contrib/gana b/contrib/gana -Subproject fbd2bf1c8a39ff334b2ae52d7be44416490848b +Subproject 15a8cae393bf35f95ae15836c4ec4b2b22e4260 diff --git a/src/json/json_helper.c b/src/json/json_helper.c index 468d13569..e82fb2941 100644 --- a/src/json/json_helper.c +++ b/src/json/json_helper.c @@ -60,7 +60,7 @@ TALER_JSON_from_amount_nbo (const struct TALER_AmountNBO *amount) * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_amount (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -139,7 +139,7 @@ TALER_JSON_spec_amount_any (const char *name, * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_amount_nbo (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -223,7 +223,7 @@ TALER_JSON_spec_amount_any_nbo (const char *name, * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_abs_time (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -304,7 +304,7 @@ TALER_JSON_spec_absolute_time (const char *name, * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_abs_time_nbo (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -355,7 +355,7 @@ TALER_JSON_spec_absolute_time_nbo (const char *name, * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_rel_time (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) @@ -732,7 +732,7 @@ struct I18nContext * @param[out] spec where to write the data * @return #GNUNET_OK upon successful parsing; #GNUNET_SYSERR upon error */ -static int +static enum GNUNET_GenericReturnValue parse_i18n_string (void *cls, json_t *root, struct GNUNET_JSON_Specification *spec) |