aboutsummaryrefslogtreecommitdiff
path: root/src/api/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/vim.h')
-rw-r--r--src/api/vim.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/api/vim.h b/src/api/vim.h
index 81aadb2014..e310842e5b 100644
--- a/src/api/vim.h
+++ b/src/api/vim.h
@@ -101,13 +101,6 @@ void vim_err_write(String str);
/// @return The number of buffers
int64_t vim_get_buffer_count(void);
-/// Gets a buffer by index
-///
-/// @param num The buffer number
-/// @param[out] err Details of an error that may have occurred
-/// @return The buffer handle
-Buffer vim_get_buffer(int64_t num, Error *err);
-
/// Return the current buffer
///
/// @reqturn The buffer handle
@@ -116,7 +109,8 @@ Buffer vim_get_current_buffer(void);
/// Sets the current buffer
///
/// @param id The buffer handle
-void vim_set_current_buffer(Buffer buffer);
+/// @param[out] err Details of an error that may have occurred
+void vim_set_current_buffer(Buffer buffer, Error *err);
/// Gets the number of windows
///