| 77 | } // anonymous namespace |
| 78 | |
| 79 | Object InitBigInt(Env env) { |
| 80 | Object exports = Object::New(env); |
| 81 | exports["IsLossless"] = Function::New(env, IsLossless); |
| 82 | exports["IsBigInt"] = Function::New(env, IsBigInt); |
| 83 | exports["TestInt64"] = Function::New(env, TestInt64); |
| 84 | exports["TestUint64"] = Function::New(env, TestUint64); |
| 85 | exports["TestWords"] = Function::New(env, TestWords); |
| 86 | exports["TestTooBigBigInt"] = Function::New(env, TestTooBigBigInt); |
| 87 | |
| 88 | return exports; |
| 89 | } |
| 90 | |
| 91 | #endif |