it can call functions

This commit is contained in:
Jarred Sumner
2022-05-05 09:01:36 -07:00
parent 30ca112260
commit a7b0bc8790
20 changed files with 1021 additions and 423 deletions

View File

@@ -47,6 +47,8 @@ JSFFIFunction::JSFFIFunction(VM& vm, NativeExecutable* executable, JSGlobalObjec
: Base(vm, executable, globalObject, structure)
, m_function(WTFMove(function))
{
// used in NAPI
dataPtr = nullptr;
}
template<typename Visitor>