summaryrefslogtreecommitdiff
path: root/lib/mbiterf.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
committerJörg Frings-Fürst <debian@jff.email>2024-10-20 15:21:43 +0200
commit4682deeb62247d34de87f8e777f99e2d337fd377 (patch)
tree5bd5b5605b5f3a4b3c8ea7468c34c23094afdef4 /lib/mbiterf.h
parent00893e79fc62966067af1a106567db96bd170338 (diff)
New upstream version 1.3upstream/1.3upstream
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 */