diff options
author | chai <chaifix@163.com> | 2018-05-17 21:02:44 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-05-17 21:02:44 +0800 |
commit | 38818e2abc0fb4e8f71f2c262f10ef5cb7fc4710 (patch) | |
tree | 5dc25dc50d0436f6e9be10d8956feed51679de95 /src/libjin/fs/buffer.h | |
parent | 9edf2ba9fe8524976d2f298767fff0149e8c0d41 (diff) |
change file tree
Diffstat (limited to 'src/libjin/fs/buffer.h')
-rw-r--r-- | src/libjin/fs/buffer.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/libjin/fs/buffer.h b/src/libjin/fs/buffer.h index d727d84..dfdea21 100644 --- a/src/libjin/fs/buffer.h +++ b/src/libjin/fs/buffer.h @@ -1,3 +1,6 @@ +#ifndef __JIN_BUFFER_H +#define __JIN_BUFFER_H + #include <string.h> namespace jin @@ -5,9 +8,6 @@ namespace jin namespace fs { - /** - * A file data buffer. - */ class Buffer { public: @@ -30,7 +30,7 @@ namespace fs public: - // data position in memory + // data position in memory void* data; // data buffer size @@ -39,4 +39,6 @@ namespace fs }; } -}
\ No newline at end of file +} + +#endif
\ No newline at end of file |