summaryrefslogtreecommitdiff
path: root/lib/mbiterf.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:22:21 +0200
commit1d8b9e17ea13630aec475484da09ebba0366f7c8 (patch)
tree0c801f68561bfb0930a4ade80d7ca3a7940887ab /lib/mbiterf.h
parent84e26c587987e8484d55db4165f188b40c09e94b (diff)
parent630f99f29bd31a76d8d24da2975a045452c763ef (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'lib/mbiterf.h')
-rw-r--r--lib/mbiterf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/mbiterf.h b/lib/mbiterf.h
index 28d2f8ce..c57815c5 100644
--- a/lib/mbiterf.h
+++ b/lib/mbiterf.h
@@ -92,6 +92,11 @@ _GL_INLINE_HEADER_BEGIN
# define MBITERF_INLINE _GL_INLINE _GL_ATTRIBUTE_ALWAYS_INLINE
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
struct mbif_state
{
#if !GNULIB_MBRTOC32_REGULAR
@@ -199,6 +204,11 @@ typedef struct mbif_state mbif_state_t;
#define mbif_next(st, iter, endptr) \
mbiterf_next (&(st), (iter), (endptr))
+
+#ifdef __cplusplus
+}
+#endif
+
_GL_INLINE_HEADER_END
#endif /* _MBITERF_H */