src/cx/common.h

changeset 674
dc514a5d42a5
parent 651
19d1a8422f6e
child 682
34120a385fc8
--- a/src/cx/common.h	Mon Apr 03 19:09:31 2023 +0200
+++ b/src/cx/common.h	Mon Apr 03 19:20:30 2023 +0200
@@ -104,6 +104,16 @@
         void *
 );
 
+/**
+ * Function pointer compatible with fread-like functions.
+ */
+typedef size_t (*cx_read_func)(
+        void *,
+        size_t,
+        size_t,
+        void *
+);
+
 #ifdef _WIN32
 
 #ifdef __MINGW32__

mercurial