diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2012-05-03 08:51:00 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-03 10:22:56 -0700 |
commit | 6163cd8a2a8703bdbd30920731aec32c68c39453 (patch) | |
tree | 37205569724932dd227541f078f068fa68ffa1fc /copy.c | |
parent | 10d4332e007132a38dc61f03c760d355da5cd550 (diff) | |
download | git-6163cd8a2a8703bdbd30920731aec32c68c39453.tar.gz git-6163cd8a2a8703bdbd30920731aec32c68c39453.tar.xz |
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>
Diffstat (limited to 'copy.c')
0 files changed, 0 insertions, 0 deletions