src/cx/buffer.h

changeset 1112
22dc2163fffd
parent 1110
a0e9be7ed131
--- a/src/cx/buffer.h	Mon Jan 06 23:29:41 2025 +0100
+++ b/src/cx/buffer.h	Tue Jan 07 00:12:46 2025 +0100
@@ -89,6 +89,17 @@
 #define CX_BUFFER_COPY_ON_EXTEND 0x08
 
 /**
+ * Function pointer for cxBufferWrite that is compatible with cx_write_func.
+ * @see cx_write_func
+ */
+#define cxBufferWriteFunc  ((cx_write_func) cxBufferWrite)
+/**
+ * Function pointer for cxBufferRead that is compatible with cx_read_func.
+ * @see cx_read_func
+ */
+#define cxBufferReadFunc  ((cx_read_func) cxBufferRead)
+
+/**
  * Configuration for automatic flushing.
  */
 struct cx_buffer_flush_config_s {

mercurial