summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-10 17:39:34 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-10 17:39:34 +0200
commit9a3dd7cb25a410270a2feb672aa84afd8ea4bca2 (patch)
tree2f9fd1f2cc1211a7f36fd1249eba9d94ce5791f8 /src/include
parentaef3b7c350e34f71425ef403d3e5991aced2eb57 (diff)
downloadexchange-9a3dd7cb25a410270a2feb672aa84afd8ea4bca2.tar.gz
exchange-9a3dd7cb25a410270a2feb672aa84afd8ea4bca2.tar.bz2
exchange-9a3dd7cb25a410270a2feb672aa84afd8ea4bca2.zip
new test for uint and json APIs
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_pq_lib.h6
1 files changed, 4 insertions, 2 deletions
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);
/**