Skip to content

Commit 7cab4d6

Browse files
committed
typed arrays: integrate plask's typed array implementation
1 parent 04122ad commit 7cab4d6

File tree

4 files changed

+800
-0
lines changed

4 files changed

+800
-0
lines changed

src/node.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ extern "C" {
9898
# include <node_crypto.h>
9999
#endif
100100
#include <node_script.h>
101+
#include <v8_typed_array.h>
101102

102103
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a)))
103104

@@ -2592,6 +2593,7 @@ int Start(int argc, char *argv[]) {
25922593
v8::Context::Scope context_scope(context);
25932594

25942595
Handle<Object> process = SetupProcessObject(argc, argv);
2596+
v8_typed_array::AttachBindings(context->Global());
25952597

25962598
// Create all the objects, load modules, do everything.
25972599
// so your next reading stop should be node::Load()!

0 commit comments

Comments
 (0)