diff common/strhelp.h @ 198:56ae02b4a0fc

Merged
author Sascha Wilde <wilde@intevation.de>
date Wed, 26 Mar 2014 12:38:10 +0100
parents 1f44aae4528e
children 6b4ad6ccc48e
line wrap: on
line diff
--- a/common/strhelp.h	Wed Mar 26 12:37:19 2014 +0100
+++ b/common/strhelp.h	Wed Mar 26 12:38:10 2014 +0100
@@ -1,6 +1,10 @@
 #ifndef STRHELP_H
 #define STRHELP_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdbool.h>
 
 /**
@@ -89,5 +93,8 @@
  */
 int str_base64_decode(char **dst, size_t *dst_size, char *src,
                       size_t src_size);
+#ifdef __cplusplus
+}
+#endif
 
 #endif

http://wald.intevation.org/projects/trustbridge/