+2004-07-16 Bruno Haible <bruno@clisp.org>
+
+ * mbswidth.h: Add extern "C" for C++.
+ Reported by Albert Chin-A-Young <china@thewrittenword.com>.
+
2004-07-09 Simon Josefsson <jas@extundo.com>
* getndelim2.c: Include stddef.h, for ptrdiff_t. (FreeBSD 4.9
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* Optional flags to influence mbswidth/mbsnwidth behavior. */
/* If this bit is set, return -1 upon finding an invalid or incomplete
/* Returns the number of screen columns needed for the NBYTES bytes
starting at BUF. */
extern int mbsnwidth (const char *buf, size_t nbytes, int flags);
+
+
+#ifdef __cplusplus
+}
+#endif