diff common/strhelp.h @ 184:1f44aae4528e

Add C linkage for strhelp. Check for data in commontest.
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 25 Mar 2014 18:03:00 +0000
parents bf4bfd8843bd
children 6b4ad6ccc48e
line wrap: on
line diff
--- a/common/strhelp.h	Tue Mar 25 17:38:06 2014 +0000
+++ b/common/strhelp.h	Tue Mar 25 18:03:00 2014 +0000
@@ -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/