bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

prototype for getCDKSwindowContents conflicts with man page


From: lucas
Subject: prototype for getCDKSwindowContents conflicts with man page
Date: Sat, 19 Oct 2002 14:38:57 -0400 (EDT)

Man page for getCDKSwindowContents:
   char **getCDKSwindowContents (CDKSWINDOW *swindow, int *lines);

Prototype in include/swindow.h:
   chtype **getCDKSwindowContents (CDKSWINDOW *swindow, int *size);

Returning char ** is more sensible, since setCDKSwindowContents takes a
char ** as the contents argument, but changing the return value could
break existing code.  Personally I'm just going to code as if the man page 
matched the prototype.

- Lucas






reply via email to

[Prev in Thread] Current Thread [Next in Thread]