From 9a3dd7cb25a410270a2feb672aa84afd8ea4bca2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 10 Jun 2015 17:39:34 +0200 Subject: new test for uint and json APIs --- src/include/taler_pq_lib.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/include/taler_pq_lib.h') diff --git a/src/include/taler_pq_lib.h b/src/include/taler_pq_lib.h index 6199444e1..9159cc0f7 100644 --- a/src/include/taler_pq_lib.h +++ b/src/include/taler_pq_lib.h @@ -230,7 +230,9 @@ TALER_PQ_query_param_uint64 (const uint64_t *x); /** * Generate query parameter for a JSON object (stored as a string - * in the DB). + * in the DB). Note that @a x must really be a JSON object or array, + * passing just a value (string, integer) is not supported and will + * result in an abort. * * @param x pointer to the json object to pass */ @@ -471,7 +473,7 @@ TALER_PQ_result_spec_uint16 (const char *name, */ struct TALER_PQ_ResultSpec TALER_PQ_result_spec_uint32 (const char *name, - uint16_t *u32); + uint32_t *u32); /** -- cgit v1.2.3