Permalink
Browse files

typed arrays: integrate plask's typed array implementation

  • Loading branch information...
1 parent 04122ad commit 7cab4d6870b67cbcf9dd994a56a9edc89ad9ba37 @bnoordhuis bnoordhuis committed Jul 26, 2011
Showing with 800 additions and 0 deletions.
  1. +2 −0 src/node.cc
  2. +762 −0 src/v8_typed_array.cc
  3. +35 −0 src/v8_typed_array.h
  4. +1 −0 wscript
View
@@ -98,6 +98,7 @@ extern "C" {
# include <node_crypto.h>
#endif
#include <node_script.h>
+#include <v8_typed_array.h>
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
@@ -2592,6 +2593,7 @@ int Start(int argc, char *argv[]) {
v8::Context::Scope context_scope(context);
Handle<Object> process = SetupProcessObject(argc, argv);
+ v8_typed_array::AttachBindings(context->Global());
// Create all the objects, load modules, do everything.
// so your next reading stop should be node::Load()!
Oops, something went wrong.

0 comments on commit 7cab4d6

Please sign in to comment.