Re: [v8-users] test_call_v8

2022-08-10 Thread Jakob Kummerow
It appears that you're talking about an external project. V8 itself does not define "v8pp::call_v8". Maybe reading the comments in the source will help: https://github.com/pmed/v8pp/blob/master/v8pp/call_v8.hpp On Wed, Aug 10, 2022 at 10:28 AM jk_alan wrote: > There are sample codes in

[v8-users] test_call_v8

2022-08-10 Thread jk_alan
There are sample codes in test_call_v8.cpp for using call_v8. test_call_v8() v8::Local fun = v8::Function::New(isolate->GetCurrentContext(), v8_arg_count).ToLocalChecked(); ... v8pp::call_v8(isolate, fun, fun)->Int32Value(isolate->GetCurrentContext()).FromJust(), 0); There is two