mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
API: Implement tabpage_is_valid
This commit is contained in:
parent
14f2a3d533
commit
a6baf32a2c
@ -66,6 +66,7 @@ Window tabpage_get_window(Tabpage tabpage, Error *err)
|
|||||||
|
|
||||||
bool tabpage_is_valid(Tabpage tabpage)
|
bool tabpage_is_valid(Tabpage tabpage)
|
||||||
{
|
{
|
||||||
abort();
|
Error stub = {.set = false};
|
||||||
|
return find_tab(tabpage, &stub) != NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user