Mercurial > trustbridge
changeset 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 | 4def8b263dd3 |
children | ee37c085b9f7 |
files | common/strhelp.h ui/tests/commontest.cpp |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
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