mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
tests: add wattr_get/set to fake
This commit is contained in:
@@ -90,6 +90,26 @@ wattr_off (WINDOW *win, attr_t attrs, void *opts)
|
||||
return OK;
|
||||
}
|
||||
|
||||
int
|
||||
wattr_get (WINDOW *win, attr_t *attrs, short *pair, void *opts)
|
||||
{
|
||||
(void) win;
|
||||
(void) attrs;
|
||||
(void) pair;
|
||||
(void) opts;
|
||||
return OK;
|
||||
}
|
||||
|
||||
int
|
||||
wattr_set (WINDOW *win, attr_t *attrs, short *pair, void *opts)
|
||||
{
|
||||
(void) win;
|
||||
(void) attrs;
|
||||
(void) pair;
|
||||
(void) opts;
|
||||
return OK;
|
||||
}
|
||||
|
||||
int
|
||||
waddnstr(WINDOW *win, const char *str, int n)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user