streaming: void pointer instead of char pointer
commit6163cd8a2a8703bdbd30920731aec32c68c39453
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Thu, 3 May 2012 01:51:00 +0000 (3 08:51 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 May 2012 17:22:56 +0000 (3 10:22 -0700)
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 <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
streaming.c
streaming.h