diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2017-03-01 16:53:35 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2017-03-01 17:20:57 +0000 |
commit | 6e2ccb75d7c9e1e9102a0512449381e2fffc57a7 (patch) | |
tree | ed1d6e22971d4312f2370211638aeb2381374c2e /scripts/serve-docs.sh | |
parent | 0dff43a2e3c566766f64fed597d143885d5d8368 (diff) |
Bazel client: simplify {Read,Write}File semantics
Introduce a platform-specific file handle type
(HANDLE on Windows, int on Linux/Darwin/FreeBSD)
so we can get rid of the read_func and write_func
functions, since they are always the same
everywhere.
Also include file_platform.h in file.h, since they
are logically the same file (file_platform.h is
just the platform-specific part of file.h).
--
PiperOrigin-RevId: 148892736
MOS_MIGRATED_REVID=148892736
Diffstat (limited to 'scripts/serve-docs.sh')
0 files changed, 0 insertions, 0 deletions