kill duplicate decl and obsolete FIXME

This commit is contained in:
nick black 2019-11-23 21:32:58 -05:00
parent 9c9f1f4462
commit affb0c120b
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -58,9 +58,6 @@ typedef struct cell {
uint64_t channels; // + 8b == 16b uint64_t channels; // + 8b == 16b
} cell; } cell;
// FIXME we'll need to expose this definition for ncplane_getwc()
struct cell; // the contents of a single cell on a single plane
// Configuration for notcurses_init(). // Configuration for notcurses_init().
typedef struct notcurses_options { typedef struct notcurses_options {
// The name of the terminfo database entry describing this terminal. If NULL, // The name of the terminfo database entry describing this terminal. If NULL,
@ -178,12 +175,12 @@ int ncplane_putstr(struct ncplane* n, const char* gclustarr);
int ncplane_printf(struct ncplane* n, const wchar_t* format, ...); int ncplane_printf(struct ncplane* n, const wchar_t* format, ...);
int ncplane_vprintf(struct ncplane* n, const wchar_t* format, va_list ap); int ncplane_vprintf(struct ncplane* n, const wchar_t* format, va_list ap);
// Draw horizontal or vertical lines using the specified cell of wchar_t's, // Draw horizontal or vertical lines using the specified cell, starting at the
// starting at the current cursor position. The cursor will end at the cell // current cursor position. The cursor will end at the cell following the last
// following the last cell output (even, perhaps counter-intuitively, when // cell output (even, perhaps counter-intuitively, when drawing vertical
// drawing vertical lines), just as if ncplane_putc() was called at that spot. // lines), just as if ncplane_putc() was called at that spot. Return the
// Returns the number of cells drawn on success. On error, returns the negative // number of cells drawn on success. On error, return the negative number of
// number of cells drawn. // cells drawn.
int ncplane_hline(struct ncplane* n, int xoff, const cell* c, int ncplane_hline(struct ncplane* n, int xoff, const cell* c,
const char* gclust, int len); const char* gclust, int len);
int ncplane_vline(struct ncplane* n, int yoff, const cell* c, int ncplane_vline(struct ncplane* n, int yoff, const cell* c,