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 26, 2015
1 parent 5fe6653 commit bb3a553
Show file tree
Hide file tree
Showing 47 changed files with 1,729 additions and 386 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,20 @@ LINT_SOURCES = \
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 @@ -34,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 @@ -47,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 All @@ -70,6 +82,8 @@ forcetest:

$(ADDONS): nan.h nan_new.h nan_implementation_pre_12_inl.h nan_implementation_12_inl.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_maybe_43_inl.h nan_maybe_pre_43_inl.h \
nan_persistent_12_inl.h nan_persistent_pre_12_inl.h nan_weak.h \
nan_string_bytes.h test/binding.gyp $(SOURCES)
cd test/ && ../node_modules/.bin/node-gyp rebuild
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 bb3a553

Please sign in to comment.