--- libelwix/inc/elwix/astr.h 2024/10/26 14:40:36 1.8.48.1 +++ libelwix/inc/elwix/astr.h 2025/08/21 15:43:00 1.10 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: astr.h,v 1.8.48.1 2024/10/26 14:40:36 misho Exp $ +* $Id: astr.h,v 1.10 2025/08/21 15:43:00 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