feat: 新增结构化克隆缓冲区族分派与转移语义及全局绑定

This commit is contained in:
2026-10-08 03:17:06 +00:00
parent 3266a8b516
commit 3fa2f94fd1
9 changed files with 396 additions and 60 deletions
+4 -4
View File
@@ -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 {