aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-12-05 12:41:31 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-12-16 11:28:44 -0700
commitbafcf13695f80dac6d9be87b65ad6156ddc3d621 (patch)
tree95c9c70928fe7b90cbf1fa66013e41d3a90c3fce /vis.h
parent1d1d19ed30309b39fc5e43c830cabb4cdd004d07 (diff)
downloadvis-bafcf13695f80dac6d9be87b65ad6156ddc3d621.tar.gz
vis-bafcf13695f80dac6d9be87b65ad6156ddc3d621.tar.xz
delete functions which were exposed as unused
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/vis.h b/vis.h
index 7237e04..0b1c331 100644
--- a/vis.h
+++ b/vis.h
@@ -147,23 +147,6 @@ VIS_EXPORT void vis_die(Vis *vis, const char *msg, ...) __attribute__((noreturn,
* @endrst
*/
VIS_EXPORT bool vis_signal_handler(Vis *vis, int signum, const siginfo_t *siginfo, const void *context);
-/**
- * Interrupt long running operation.
- * @param vis The editor instance.
- * @rst
- * .. warning:: There is no guarantee that a long running operation is actually
- * interrupted. It is analogous to cooperative multitasking where
- * the operation has to voluntarily yield control.
- * .. note:: It is invoked from `vis_signal_handler` when receiving ``SIGINT``.
- * @endrst
- */
-VIS_EXPORT void vis_interrupt(Vis*);
-/**
- * Check whether interruption was requested.
- * @param vis The editor instance.
- */
-VIS_EXPORT bool vis_interrupt_requested(Vis*);
-/** @} */
/*
---
@@ -329,13 +312,6 @@ VIS_EXPORT void vis_message_show(Vis *vis, const char *msg);
*/
VIS_EXPORT void vis_insert(Vis *vis, size_t pos, const char *data, size_t len);
/**
- * Delete data from the file.
- * @param vis The editor instance.
- * @param pos The starting position of the deletion.
- * @param len The length of the data to delete.
- */
-VIS_EXPORT void vis_delete(Vis *vis, size_t pos, size_t len);
-/**
* Replace data in the file.
* @param vis The editor instance.
* @param pos The position to replace at.