From 3f7545442687c8c0968e788e4bd5f4ccd664e247 Mon Sep 17 00:00:00 2001 From: Dean McNamee Date: Sun, 23 Dec 2012 23:43:51 +0100 Subject: [PATCH] typed arrays: don't declare as module TypedArrays is not a module, it is attached to the global object. Don't register it with Node's module system. --- src/node_extensions.h | 1 - src/v8_typed_array.cc | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/node_extensions.h b/src/node_extensions.h index c96c670af9e..4238f8c521a 100644 --- a/src/node_extensions.h +++ b/src/node_extensions.h @@ -22,7 +22,6 @@ NODE_EXT_LIST_START NODE_EXT_LIST_ITEM(node_buffer) -NODE_EXT_LIST_ITEM(node_typed_array) #if HAVE_OPENSSL NODE_EXT_LIST_ITEM(node_crypto) #endif diff --git a/src/v8_typed_array.cc b/src/v8_typed_array.cc index a0a5e8b444b..1918defa56c 100644 --- a/src/v8_typed_array.cc +++ b/src/v8_typed_array.cc @@ -861,5 +861,3 @@ int SizeOfArrayElementForType(v8::ExternalArrayType type) { } } // namespace v8_typed_array - -NODE_MODULE(node_typed_array, v8_typed_array::AttachBindings)