diff options
author | Bert Belder <bertbelder@gmail.com> | 2011-11-04 19:06:48 +0400 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2011-11-04 19:24:34 +0400 |
commit | 189dd8f8034213d476e79845ad43563eb934fcf9 (patch) | |
tree | fe94b496de9434ec416dc83462ad3ac43c808682 /src/node_buffer.h | |
parent | 358f0ce96ba1147d0b382216af800e53682c5ff4 (diff) |
Fix line endings and trailing whitespace
Diffstat (limited to 'src/node_buffer.h')
-rw-r--r-- | src/node_buffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_buffer.h b/src/node_buffer.h index 88ab410da5e..2a93a1db679 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -50,7 +50,7 @@ namespace node { Migrating code C++ Buffer code from v0.2 to v0.3 is difficult. Here are some tips: - buffer->data() calls should become Buffer::Data(buffer) calls. - - buffer->length() calls should become Buffer::Length(buffer) calls. + - buffer->length() calls should become Buffer::Length(buffer) calls. - There should not be any ObjectWrap::Unwrap<Buffer>() calls. You should not be storing pointers to Buffer objects at all - as they are now considered internal structures. Instead consider making a |