summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-09 13:55:05 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-09 13:55:05 +0200
commit4544a21cfbc4a6cb13f5535accd50da17f3b5741 (patch)
tree97fad98335738ff049e9b5cac40f9904099143ed /src/include
parentd5f6b064f5945a9f46712d1b79d44ba13e579e45 (diff)
downloadexchange-4544a21cfbc4a6cb13f5535accd50da17f3b5741.tar.gz
exchange-4544a21cfbc4a6cb13f5535accd50da17f3b5741.tar.bz2
exchange-4544a21cfbc4a6cb13f5535accd50da17f3b5741.zip
-commenting on code
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_amount_lib.h15
-rw-r--r--src/include/taler_util_wallet.h16
2 files changed, 31 insertions, 0 deletions
diff --git a/src/include/taler_amount_lib.h b/src/include/taler_amount_lib.h
index 06549bac1..0a7111003 100644
--- a/src/include/taler_amount_lib.h
+++ b/src/include/taler_amount_lib.h
@@ -21,6 +21,14 @@
#ifndef TALER_AMOUNT_LIB_H
#define TALER_AMOUNT_LIB_H
+#ifdef __cplusplus
+extern "C"
+{
+#if 0 /* keep Emacsens' auto-indent happy */
+}
+#endif
+#endif
+
/**
* @brief Number of characters (plus 1 for 0-termination) we use to
@@ -249,5 +257,12 @@ TALER_amount_normalize (struct TALER_Amount *amount);
char *
TALER_amount_to_string (const struct TALER_Amount *amount);
+#if 0 /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif
diff --git a/src/include/taler_util_wallet.h b/src/include/taler_util_wallet.h
index 275c9daf6..4699a469d 100644
--- a/src/include/taler_util_wallet.h
+++ b/src/include/taler_util_wallet.h
@@ -25,6 +25,14 @@
#include "taler_crypto_lib.h"
+#ifdef __cplusplus
+extern "C"
+{
+#if 0 /* keep Emacsens' auto-indent happy */
+}
+#endif
+#endif
+
/* Define logging functions */
#define TALER_LOG_DEBUG(...) \
@@ -86,4 +94,12 @@ TALER_config_get_denom (struct GNUNET_CONFIGURATION_Handle *cfg,
struct TALER_Amount *denom);
+#if 0 /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
+
#endif