diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-16 10:21:30 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-17 08:05:44 -0300 |
commit | 76a2fb5667461a8b7fa1abfb5a2c7381ced3f519 (patch) | |
tree | c5f06f37b7019107b9f70f24b5eb9951a5619e17 /src/nvim/api/tabpage.h | |
parent | a8b0c9e576e9c0155546b03944314449d3f1a5c3 (diff) | |
download | rneovim-76a2fb5667461a8b7fa1abfb5a2c7381ced3f519.tar.gz rneovim-76a2fb5667461a8b7fa1abfb5a2c7381ced3f519.tar.bz2 rneovim-76a2fb5667461a8b7fa1abfb5a2c7381ced3f519.zip |
Use more descriptive names for API primitive types
Instead of exposing native C types to a public API that can be consumed by other
platforms, we are now using the following translation:
int64_t -> Integer
double -> Float
bool -> Boolean
Diffstat (limited to 'src/nvim/api/tabpage.h')
-rw-r--r-- | src/nvim/api/tabpage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/api/tabpage.h b/src/nvim/api/tabpage.h index 54ed70a6f6..ef049fb644 100644 --- a/src/nvim/api/tabpage.h +++ b/src/nvim/api/tabpage.h @@ -11,7 +11,7 @@ /// @param tabpage The tabpage /// @param[out] err Details of an error that may have occurred /// @return The number of windows in `tabpage` -int64_t tabpage_get_window_count(Tabpage tabpage, Error *err); +Integer tabpage_get_window_count(Tabpage tabpage, Error *err); /// Gets a tabpage variable /// @@ -41,7 +41,7 @@ Window tabpage_get_window(Tabpage tabpage, Error *err); /// /// @param tabpage The tab page handle /// @return true if the tab page is valid, false otherwise -bool tabpage_is_valid(Tabpage tabpage); +Boolean tabpage_is_valid(Tabpage tabpage); #endif // NVIM_API_TABPAGE_H |