| 56 | } |
| 57 | |
| 58 | void CreateWeakArray(const CallbackInfo& info) { |
| 59 | weak = Weak(Buffer<uint8_t>::New(info.Env(), 1)); |
| 60 | weak.SuppressDestruct(); |
| 61 | } |
| 62 | |
| 63 | napi_value AccessWeakArrayEmpty(const CallbackInfo& info) { |
| 64 | Buffer<uint8_t> value = weak.Value(); |
nothing calls this directly
no test coverage detected