summaryrefslogtreecommitdiff
path: root/lib/mbiterf.h
diff options
context:
space:
mode:
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 */