diff th_datastruct.h @ 629:b695eb769e30

Change ringbuffer data type from (char *) to (void *).
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 Jan 2020 19:32:13 +0200
parents 964657ad0960
children d3aace9903fa
line wrap: on
line diff
--- a/th_datastruct.h	Fri Jan 17 19:22:04 2020 +0200
+++ b/th_datastruct.h	Fri Jan 17 19:32:13 2020 +0200
@@ -53,9 +53,9 @@
  */
 typedef struct
 {
-    char **data;
     size_t n, size;
     void (*deallocator)(void *data);
+    void **data;    ///< Array of pointers to the data
 } th_ringbuf_t;