Skip to content

Commit

Permalink
Update for V8 v4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoopa committed May 22, 2015
1 parent e70d1ca commit d180028
Show file tree
Hide file tree
Showing 51 changed files with 2,414 additions and 2,053 deletions.
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,23 @@ LINT_SOURCES = \
examples/async_pi_estimate/sync.cc \
examples/async_pi_estimate/sync.h \
nan.h \
nan_string_bytes.h \
nan_callbacks.h \
nan_callbacks_12_inl.h \
nan_callbacks_pre_12_inl.h \
nan_converters.h \
nan_converters_43_inl.h \
nan_converters_pre_43_inl.h \
nan_implementation_12_inl.h \
nan_implementation_pre_12_inl.h \
nan_maybe_43_inl.h \
nan_maybe_pre_43_inl.h \
nan_new.h \
nan_persistent_12_inl.h \
nan_persistent_pre_12_inl.h \
nan_string_bytes.h \
nan_weak.h \
test/cpp/accessors.cpp \
test/cpp/accessors2.cpp \
test/cpp/asyncworker.cpp \
test/cpp/asyncprogressworker.cpp \
test/cpp/asyncworkererror.cpp \
Expand All @@ -32,6 +40,10 @@ LINT_SOURCES = \
test/cpp/gc.cpp \
test/cpp/indexedinterceptors.cpp \
test/cpp/morenews.cpp \
test/cpp/converters.cpp \
test/cpp/isolatedata.cpp \
test/cpp/makecallback.cpp \
test/cpp/morenews.cpp \
test/cpp/multifile1.cpp \
test/cpp/multifile2.cpp \
test/cpp/multifile2.h \
Expand All @@ -45,8 +57,10 @@ LINT_SOURCES = \
test/cpp/returnnull.cpp \
test/cpp/returnundefined.cpp \
test/cpp/returnvalue.cpp \
test/cpp/settemplate.cpp \
test/cpp/strings.cpp \
test/cpp/symbols.cpp \
test/cpp/threadlocal.cpp \
test/cpp/trycatch.cpp \
test/cpp/weak.cpp \
test/cpp/weak2.cpp \
Expand Down
4 changes: 2 additions & 2 deletions examples/async_pi_estimate/addon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ using v8::String;
// Expose synchronous and asynchronous access to our
// Estimate() function
void InitAll(Handle<Object> exports) {
exports->Set(NanNew<String>("calculateSync"),
exports->Set(NanNew<String>("calculateSync").ToLocalChecked(),
NanNew<FunctionTemplate>(CalculateSync)->GetFunction());

exports->Set(NanNew<String>("calculateAsync"),
exports->Set(NanNew<String>("calculateAsync").ToLocalChecked(),
NanNew<FunctionTemplate>(CalculateAsync)->GetFunction());
}

Expand Down
Loading

0 comments on commit d180028

Please sign in to comment.