aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-01-12 07:17:06 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-01-12 07:17:06 -0700
commitf2b2337a31c8e9e89085ed9d123d743e976ba85b (patch)
treecdcce4025e405b6b5dfb1fe88d66b75a24867d49 /buffer.h
parent1b483c2cb47e2f64726e1bbb0923a4fa40ac8126 (diff)
downloadvis-f2b2337a31c8e9e89085ed9d123d743e976ba85b.tar.gz
vis-f2b2337a31c8e9e89085ed9d123d743e976ba85b.tar.xz
buffer: drop buffer_move function
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/buffer.h b/buffer.h
index f099b32..6920468 100644
--- a/buffer.h
+++ b/buffer.h
@@ -57,13 +57,6 @@ size_t buffer_length0(Buffer*);
* Guaranteed to return a NUL terminated string even if buffer is empty.
*/
const char *buffer_content0(Buffer*);
-/**
- * Borrow underlying buffer data.
- * @rst
- * .. warning:: The caller is responsible to ``free(3)`` it.
- * @endrst
- */
-char *buffer_move(Buffer*);
/** ``read(3p)`` like interface for reading into a Buffer (``context``) */
ssize_t read_into_buffer(void *context, char *data, size_t len);