diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-06-04 12:21:58 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-06-04 12:22:03 +0200 |
commit | a7820a15e7eb4e57a4fe2f076e877dcc6069358c (patch) | |
tree | 47e6ba0c43a76064642415944ec981b8194bfa2e /src/handle_wrap.cc | |
parent | 72b92e92d39fa8c513d4166c1f0feed48241aac7 (diff) | |
download | android-node-v8-a7820a15e7eb4e57a4fe2f076e877dcc6069358c.tar.gz android-node-v8-a7820a15e7eb4e57a4fe2f076e877dcc6069358c.tar.bz2 android-node-v8-a7820a15e7eb4e57a4fe2f076e877dcc6069358c.zip |
src: replace ngx-queue.h with queue.h
No functional changes, just one less entry in the LICENSE file.
Diffstat (limited to 'src/handle_wrap.cc')
-rw-r--r-- | src/handle_wrap.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc index 390f686425..5de0daa0d2 100644 --- a/src/handle_wrap.cc +++ b/src/handle_wrap.cc @@ -20,7 +20,7 @@ // USE OR OTHER DEALINGS IN THE SOFTWARE. #include "node.h" -#include "ngx-queue.h" +#include "queue.h" #include "handle_wrap.h" namespace node { @@ -43,7 +43,7 @@ using v8::Value; // defined in node.cc -extern ngx_queue_t handle_wrap_queue; +extern QUEUE handle_wrap_queue; static Persistent<String> close_sym; @@ -115,13 +115,13 @@ HandleWrap::HandleWrap(Handle<Object> object, uv_handle_t* h) { assert(object->InternalFieldCount() > 0); object_ = v8::Persistent<v8::Object>::New(node_isolate, object); object_->SetAlignedPointerInInternalField(0, this); - ngx_queue_insert_tail(&handle_wrap_queue, &handle_wrap_queue_); + QUEUE_INSERT_TAIL(&handle_wrap_queue, &handle_wrap_queue_); } HandleWrap::~HandleWrap() { assert(object_.IsEmpty()); - ngx_queue_remove(&handle_wrap_queue_); + QUEUE_REMOVE(&handle_wrap_queue_); } |