Open jiangjieke opened 1 month ago
Given that JS_GetTypedArrayBuffer can accept NULL pointers, allowing JS_GetArrayBuffer to do the same would improve interface consistency. https://github.com/bellard/quickjs/blob/master/quickjs.c#L53444-L53447
JS_GetTypedArrayBuffer
JS_GetArrayBuffer
Given that
JS_GetTypedArrayBuffer
can accept NULL pointers, allowingJS_GetArrayBuffer
to do the same would improve interface consistency. https://github.com/bellard/quickjs/blob/master/quickjs.c#L53444-L53447