mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
feat: 新增结构化克隆缓冲区族分派与转移语义及全局绑定
This commit is contained in:
@@ -14,10 +14,10 @@ use oxide_runtime_api::{NativeResult, VmHost};
|
||||
/// 存构造期 live − offset 初值,活读一律现算 live − offset。
|
||||
#[derive(Clone, Copy)]
|
||||
pub(crate) struct DataViewData {
|
||||
buffer: JsValue,
|
||||
byte_offset: usize,
|
||||
byte_length: usize,
|
||||
length_is_auto: bool,
|
||||
pub(crate) buffer: JsValue,
|
||||
pub(crate) byte_offset: usize,
|
||||
pub(crate) byte_length: usize,
|
||||
pub(crate) length_is_auto: bool,
|
||||
}
|
||||
|
||||
macro_rules! native_try {
|
||||
|
||||
Reference in New Issue
Block a user