X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fcurses.h.in;h=c77fff0013784aedde9b5dcccf963ff434539dce;hp=4342467549b8b43ced67b84f31e5232930c165ac;hb=d803343ca3e2a419085e76fc9f04a6fbd14498b8;hpb=5b7f4de105080e2a715b0564ede4bb7eb6767659 diff --git a/include/curses.h.in b/include/curses.h.in index 43424675..c77fff00 100644 --- a/include/curses.h.in +++ b/include/curses.h.in @@ -32,7 +32,7 @@ * and: Thomas E. Dickey 1996-on * ****************************************************************************/ -/* $Id: curses.h.in,v 1.203 2009/07/04 20:19:26 tom Exp $ */ +/* $Id: curses.h.in,v 1.204 2009/07/18 16:02:07 tom Exp $ */ #ifndef __NCURSES_H #define __NCURSES_H @@ -344,7 +344,13 @@ typedef unsigned short wchar_t@NCURSES_OK_WCHAR_T@; typedef unsigned int wint_t@NCURSES_OK_WCHAR_T@; #endif -#define CCHARW_MAX 5 +/* + * cchar_t stores an array of CCHARW_MAX wide characters. The first is + * normally a spacing character. The others are non-spacing. If those + * (spacing and nonspacing) do not fill the array, a null L'\0' follows. + * Otherwise, a null is assumed to follow when extracting via getcchar(). + */ +#define CCHARW_MAX @NCURSES_CCHARW_MAX@ typedef struct { attr_t attr;