aboutsummaryrefslogtreecommitdiff
path: root/src/api/helpers.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-11 11:02:29 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-13 14:11:32 -0300
commite026be46af28701c6791d80419e7eb26b7ef858b (patch)
tree3493e5716244c8316c0d9cb5d9fad4b06c92a419 /src/api/helpers.h
parentbfe3b6712e75d0c290c0fb9d3693d2cf982a8eb1 (diff)
downloadrneovim-e026be46af28701c6791d80419e7eb26b7ef858b.tar.gz
rneovim-e026be46af28701c6791d80419e7eb26b7ef858b.tar.bz2
rneovim-e026be46af28701c6791d80419e7eb26b7ef858b.zip
API: Implement tabpage_{get,set}_var
Diffstat (limited to 'src/api/helpers.h')
-rw-r--r--src/api/helpers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/api/helpers.h b/src/api/helpers.h
index 4c42ef1e17..9f24455b27 100644
--- a/src/api/helpers.h
+++ b/src/api/helpers.h
@@ -80,5 +80,12 @@ buf_T *find_buffer(Buffer buffer, Error *err);
/// @return the window pointer
win_T * find_window(Window window, Error *err);
+/// Finds the pointer for a tabpage number
+///
+/// @param tabpage the tabpage number
+/// @param[out] err Details of an error that may have occurred
+/// @return the tabpage pointer
+tabpage_T * find_tab(Tabpage tabpage, Error *err);
+
#endif // NEOVIM_API_HELPERS_H