summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-08 22:28:52 +0200
committerChristian Grothoff <christian@grothoff.org>2015-04-08 22:28:52 +0200
commit80b29ed2aef0c50a9755809816d781afc08ef71e (patch)
treed1dbc750be7e3017c6ee3521c19ba8073203b9ed /src/include
parent42147c2501d06c44c8bfbc052d72fb2e97eaa2c6 (diff)
downloadexchange-80b29ed2aef0c50a9755809816d781afc08ef71e.tar.gz
exchange-80b29ed2aef0c50a9755809816d781afc08ef71e.tar.bz2
exchange-80b29ed2aef0c50a9755809816d781afc08ef71e.zip
indentation and minor updates to reflect latest API docs
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_amount_lib.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h
index 60405a2e4..82952f0b2 100644
--- a/src/include/taler_amount_lib.h
+++ b/src/include/taler_amount_lib.h
@@ -24,11 +24,13 @@
/**
* @brief Number of characters (plus 1 for 0-termination) we use to
- * represent currency names (i.e. EUR, USD, etc.). We use
- * 4 for alignment as 3 characters are typical and we need a
- * 0-terminator. So do not change this.
+ * represent currency names (i.e. EUR, USD, etc.). We use 8+4 for
+ * alignment in the `struct TALER_Amount`. The amount is typically an
+ * ISO 4217 currency code when an alpha-numeric 3-digit code is used.
+ * For regional currencies, the first character should be a "*" followed
+ * by a region-specific name (i.e. "*BRETAGNEFR").
*/
-#define TALER_CURRENCY_LEN 4
+#define TALER_CURRENCY_LEN 12
/**
* @brief The "fraction" value in a `struct TALER_Amount` represents which