aboutsummaryrefslogtreecommitdiff
path: root/src/api/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/buffer.h')
-rw-r--r--src/api/buffer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/api/buffer.h b/src/api/buffer.h
index 14e91c6382..3459ce8e45 100644
--- a/src/api/buffer.h
+++ b/src/api/buffer.h
@@ -25,9 +25,10 @@ String buffer_get_line(Buffer buffer, int64_t index, Error *err);
///
/// @param buffer The buffer handle
/// @param index The line index
-/// @param line The new line
+/// @param line The new line. This can can be a String(replacement) or
+/// Nil(delete). Anything else is an error.
/// @param[out] err Details of an error that may have occurred
-void buffer_set_line(Buffer buffer, int64_t index, String line, Error *err);
+void buffer_set_line(Buffer buffer, int64_t index, Object line, Error *err);
/// Retrieves a line range from the buffer
///