1
0
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:
Andrew Potter
2016-10-02 09:38:21 -07:00
parent f11feaa013
commit 54ee5e0576
+20
View File
@@ -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)
{