summaryrefslogtreecommitdiff
path: root/src/include/taler_amount_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-07-05 13:18:49 +0200
committerChristian Grothoff <christian@grothoff.org>2015-07-05 13:18:49 +0200
commitdde1ff88217e8dd3dc72ec733e8b53c02839df0e (patch)
tree04b86de4d9235bb1fcf85a89df297c103fb9f5cf /src/include/taler_amount_lib.h
parent7d8783dee3d0f11aae0c43aeb96329fcbdfa3a58 (diff)
downloadexchange-dde1ff88217e8dd3dc72ec733e8b53c02839df0e.tar.gz
exchange-dde1ff88217e8dd3dc72ec733e8b53c02839df0e.tar.bz2
exchange-dde1ff88217e8dd3dc72ec733e8b53c02839df0e.zip
fix type
Diffstat (limited to 'src/include/taler_amount_lib.h')
-rw-r--r--src/include/taler_amount_lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h
index 0a7111003..d0024a8a0 100644
--- a/src/include/taler_amount_lib.h
+++ b/src/include/taler_amount_lib.h
@@ -169,6 +169,9 @@ TALER_amount_ntoh (struct TALER_Amount *res,
* @param a1 first amount
* @param a2 second amount
* @return result of the comparison
+ * -1 if `a1 < a2`
+ * 1 if `a1 > a2`
+ * 0 if `a1 == a2`.
*/
int
TALER_amount_cmp (const struct TALER_Amount *a1,