From 60043da29fed70a9d4aa503ae6c73fd6f4e14a40 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Sun, 11 May 2014 00:06:39 -0300 Subject: API: Implement `buffer_get_mark` --- src/api/buffer.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/api/buffer.h') 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 -- cgit