feat: 搭建原生函数基础设施

This commit is contained in:
爱特每羊队
2026-06-07 01:07:45 +08:00
parent 67b5837379
commit 5d354ddb06
17 changed files with 271 additions and 15 deletions
+5
View File
@@ -0,0 +1,5 @@
use oxide_types::value::JsValue;
pub type NativeResult = Result<JsValue, JsValue>;
pub type NativeFn = fn(&mut crate::vm::Vm, args: &[u8]) -> NativeResult;