MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / TestInt64

Function TestInt64

test/bigint.cc:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35Value TestInt64(const CallbackInfo& info) {
36 bool lossless;
37 int64_t input = info[0].As<BigInt>().Int64Value(&lossless);
38
39 return BigInt::New(info.Env(), input);
40}
41
42Value TestUint64(const CallbackInfo& info) {
43 bool lossless;

Callers 1

testFunction · 0.85

Calls 1

EnvMethod · 0.80

Tested by

no test coverage detected