Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
n-api: get rid of dead code
remove code that is no longer used after
  n-api: create napi_env as a real structure
  #12195
  • Loading branch information
mhdawson committed Apr 13, 2017
commit 4d55bd3e6bc845714b7b242824e048a5c686f49e
4 changes: 0 additions & 4 deletions src/node_api.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ static inline v8::PropertyAttribute V8PropertyAttributesFromDescriptor(
return static_cast<v8::PropertyAttribute>(attribute_flags);
}

v8::Isolate* V8IsolateFromJsEnv(napi_env e) {
return reinterpret_cast<v8::Isolate*>(e);
}

class HandleScopeWrapper {
public:
explicit HandleScopeWrapper(v8::Isolate* isolate) : scope(isolate) {}
Expand Down