--- libelwix/inc/elwix/astr.h 2024/10/28 09:58:51 1.9 +++ libelwix/inc/elwix/astr.h 2024/12/05 12:33:49 1.9.4.1 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: astr.h,v 1.9 2024/10/28 09:58:51 misho Exp $ +* $Id: astr.h,v 1.9.4.1 2024/12/05 12:33:49 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -46,6 +46,9 @@ SUCH DAMAGE. #ifndef __ASTR_H #define __ASTR_H +#ifdef __cplusplus +extern "C" { +#endif /* * str_FreeNullTerm() - Free dynamic allocated null terminated array with strings @@ -190,5 +193,8 @@ int str_getString2(char * __restrict data, int dlen, c */ int str_find2replace(const char *data, const char *find, const char *replace, char **str, int *mlen); +#ifdef __cplusplus +} +#endif #endif