aboutsummaryrefslogtreecommitdiff
path: root/src/api/buffer.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-11 00:06:39 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-13 14:11:31 -0300
commit60043da29fed70a9d4aa503ae6c73fd6f4e14a40 (patch)
treec83c395554f471119fd632ddf81100806923554e /src/api/buffer.h
parent6afc24530539df16738de1697cdf1f3cb5f2e02a (diff)
downloadrneovim-60043da29fed70a9d4aa503ae6c73fd6f4e14a40.tar.gz
rneovim-60043da29fed70a9d4aa503ae6c73fd6f4e14a40.tar.bz2
rneovim-60043da29fed70a9d4aa503ae6c73fd6f4e14a40.zip
API: Implement `buffer_get_mark`
Diffstat (limited to 'src/api/buffer.h')
-rw-r--r--src/api/buffer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/api/buffer.h b/src/api/buffer.h
index 1e7ec07ec5..33f4e5733f 100644
--- a/src/api/buffer.h
+++ b/src/api/buffer.h
@@ -133,14 +133,13 @@ bool buffer_is_valid(Buffer buffer);
/// @param[out] err Details of an error that may have occurred
void buffer_insert(Buffer buffer, int64_t index, StringArray lines, Error *err);
-/// Creates a mark in the buffer and returns a tuple(row, col) representing
-/// the position of the named mark
+/// Return a tuple (row,col) representing the position of the named mark
///
/// @param buffer The buffer handle
/// @param name The mark's name
/// @param[out] err Details of an error that may have occurred
/// @return The (row, col) tuple
-Position buffer_mark(Buffer buffer, String name, Error *err);
+Position buffer_get_mark(Buffer buffer, String name, Error *err);
#endif // NEOVIM_API_BUFFER_H