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 <jaehyuk.secrett...@gmail.com> wrote: > There are sample codes in test_call_v8.cpp for using call_v8. > > test_call_v8() > v8::Local<v8::Function> fun = > v8::Function::New(isolate->GetCurrentContext(), > v8_arg_count).ToLocalChecked(); > ... > v8pp::call_v8(isolate, fun, > fun)->Int32Value(isolate->GetCurrentContext()).FromJust(), 0); > > There is two fun argument. What is the second fun argument for? Do I have > to use two fun alwalys? > > Thanks. > > -- > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to v8-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-users/68154c8b-66f9-40c3-ab12-de1e61df4bd3n%40googlegroups.com > <https://groups.google.com/d/msgid/v8-users/68154c8b-66f9-40c3-ab12-de1e61df4bd3n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/CAKSzg3RsuQ9gxXV7qQ_Oq%3DGYfjqKC_8f8-NMFX3AFHsNbiyyxQ%40mail.gmail.com.