streaming: void pointer instead of char pointer
authorRené Scharfe <redacted>
Thu, 3 May 2012 01:51:00 +0000 (08:51 +0700)
committerJunio C Hamano <redacted>
Thu, 3 May 2012 17:22:56 +0000 (10:22 -0700)
commit6163cd8a2a8703bdbd30920731aec32c68c39453
tree37205569724932dd227541f078f068fa68ffa1fc
parent10d4332e007132a38dc61f03c760d355da5cd550
streaming: void pointer instead of char pointer

Allow any kind of buffer to be fed to read_istream() without an explicit
cast by making it's buf argument a void pointer.  It's about arbitrary
data, not only characters.

Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Nguyễn Thái Ngọc Duy <redacted>
Signed-off-by: Junio C Hamano <redacted>
streaming.c
streaming.h
git clone https://git.99rst.org/PROJECT