Fri, 07 Jul 2023 17:51:54 +0200
make streamcopy buffer sizes overridable
src/utils.c | file | annotate | diff | comparison | revisions |
--- a/src/utils.c Fri Jul 07 17:46:00 2023 +0200 +++ b/src/utils.c Fri Jul 07 17:51:54 2023 +0200 @@ -28,8 +28,13 @@ #include "cx/utils.h" +#ifndef CX_STREAM_BCOPY_BUF_SIZE #define CX_STREAM_BCOPY_BUF_SIZE 8192 +#endif + +#ifndef CX_STREAM_COPY_BUF_SIZE #define CX_STREAM_COPY_BUF_SIZE 1024 +#endif size_t cx_stream_bncopy( void *src,