Skip to content

Commit

Permalink
Rename NanBufferUse to NanNewBuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoopa committed Jul 4, 2015
1 parent 6745f99 commit 3e8b0a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nan.h
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ class NanTryCatch {
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
}

NAN_INLINE v8::Local<v8::Object> NanBufferUse(
NAN_INLINE v8::Local<v8::Object> NanNewBuffer(
char* data
, uint32_t size
) {
Expand Down Expand Up @@ -1063,7 +1063,7 @@ class NanTryCatch {
delete[] data;
}

NAN_INLINE v8::Local<v8::Object> NanBufferUse(
NAN_INLINE v8::Local<v8::Object> NanNewBuffer(
char* data
, uint32_t size
) {
Expand Down

0 comments on commit 3e8b0a5

Please sign in to comment.