| 70 | } |
| 71 | |
| 72 | Value CallWithVectorUsingCppWrapper(const CallbackInfo& info) { |
| 73 | Function func = info[0].As<Function>(); |
| 74 | std::vector<Value> args; |
| 75 | args.reserve(3); |
| 76 | args.push_back(info[1]); |
| 77 | args.push_back(info[2]); |
| 78 | args.push_back(info[3]); |
| 79 | return MaybeUnwrap(func.Call(args)); |
| 80 | } |
| 81 | |
| 82 | Value CallWithCStyleArray(const CallbackInfo& info) { |
| 83 | Function func = info[0].As<Function>(); |
nothing calls this directly
no test coverage detected