diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-11 00:06:39 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-13 14:11:31 -0300 |
commit | 60043da29fed70a9d4aa503ae6c73fd6f4e14a40 (patch) | |
tree | c83c395554f471119fd632ddf81100806923554e /src/api/buffer.h | |
parent | 6afc24530539df16738de1697cdf1f3cb5f2e02a (diff) | |
download | rneovim-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.h | 5 |
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 |