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 Jul 4, 2015
1 parent d90a25c commit 4b6404a
Show file tree
Hide file tree
Showing 46 changed files with 1,652 additions and 339 deletions.
13 changes: 13 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 @@ -36,6 +42,10 @@ LINT_SOURCES = \
test/cpp/isolatedata.cpp \
test/cpp/makecallback.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 @@ -54,6 +64,7 @@ LINT_SOURCES = \
test/cpp/strings.cpp \
test/cpp/symbols.cpp \
test/cpp/threadlocal.cpp \
test/cpp/trycatch.cpp \
test/cpp/weak.cpp \
test/cpp/weak2.cpp \
node_modules/node-gyp/gyp/data/win/large-pdb-shim.cc
Expand All @@ -74,6 +85,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

0 comments on commit 4b6404a

Please sign in to comment.