aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-16 10:21:30 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-17 08:05:44 -0300
commit76a2fb5667461a8b7fa1abfb5a2c7381ced3f519 (patch)
treec5f06f37b7019107b9f70f24b5eb9951a5619e17 /src/nvim/api/vim.h
parenta8b0c9e576e9c0155546b03944314449d3f1a5c3 (diff)
downloadrneovim-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/vim.h')
-rw-r--r--src/nvim/api/vim.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/api/vim.h b/src/nvim/api/vim.h
index 3db9d4d6f6..17a17c28c7 100644
--- a/src/nvim/api/vim.h
+++ b/src/nvim/api/vim.h
@@ -31,7 +31,7 @@ Object vim_eval(String str, Error *err);
///
/// @param str Some text
/// @return The number of cells
-int64_t vim_strwidth(String str);
+Integer vim_strwidth(String str);
/// Returns a list of paths contained in 'runtimepath'
///
@@ -110,7 +110,7 @@ void vim_err_write(String str);
/// Gets the number of buffers
///
/// @return The number of buffers
-int64_t vim_get_buffer_count(void);
+Integer vim_get_buffer_count(void);
/// Return the current buffer
///
@@ -126,7 +126,7 @@ void vim_set_current_buffer(Buffer buffer, Error *err);
/// Gets the number of windows
///
/// @return The number of windows
-int64_t vim_get_window_count(void);
+Integer vim_get_window_count(void);
/// Return the current window
///
@@ -141,7 +141,7 @@ void vim_set_current_window(Window window, Error *err);
/// Gets the number of tab pages
///
/// @return The number of tab pages
-int64_t vim_get_tabpage_count(void);
+Integer vim_get_tabpage_count(void);
/// Return the current tab page
///