Fri, 07 Jul 2023 17:51:54 +0200
make streamcopy buffer sizes overridable
src/utils.c | file | annotate | diff | comparison | revisions |
1.1 --- a/src/utils.c Fri Jul 07 17:46:00 2023 +0200 1.2 +++ b/src/utils.c Fri Jul 07 17:51:54 2023 +0200 1.3 @@ -28,8 +28,13 @@ 1.4 1.5 #include "cx/utils.h" 1.6 1.7 +#ifndef CX_STREAM_BCOPY_BUF_SIZE 1.8 #define CX_STREAM_BCOPY_BUF_SIZE 8192 1.9 +#endif 1.10 + 1.11 +#ifndef CX_STREAM_COPY_BUF_SIZE 1.12 #define CX_STREAM_COPY_BUF_SIZE 1024 1.13 +#endif 1.14 1.15 size_t cx_stream_bncopy( 1.16 void *src,