update for node abi 68
This commit is contained in:
parent
b185113dd2
commit
5e2cfb1732
2
index.mm
2
index.mm
@ -149,7 +149,7 @@ void GetMediaAccessStatus(const v8::FunctionCallbackInfo<Value>& args) {
|
||||
}
|
||||
}
|
||||
|
||||
void Init(Handle<Object> exports) {
|
||||
void Init(Local<Object> exports) {
|
||||
NODE_SET_METHOD(exports, "getMediaAccessStatus", GetMediaAccessStatus);
|
||||
NODE_SET_METHOD(exports, "askForMediaAccess", AskForMediaAccess);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user