diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2026-05-19 20:01:42 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2026-05-22 17:52:21 -0400 |
| commit | ea82d201e7efb2065d0cea459bea0fcda1985762 (patch) | |
| tree | fc7494275ddf85e7e68f3c333a79bd3404590dd6 /rust/src/ffi.rs | |
| parent | ede9c92ba6155be37571743df7172aec76dd3c4b (diff) | |
Refactor calling convention Rust API to allow default implementations
Also implements the new calling convention APIs in Rust
Diffstat (limited to 'rust/src/ffi.rs')
| -rw-r--r-- | rust/src/ffi.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/src/ffi.rs b/rust/src/ffi.rs index aaa4851e..66e5f70f 100644 --- a/rust/src/ffi.rs +++ b/rust/src/ffi.rs @@ -14,6 +14,8 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH}; +pub(crate) const INVALID_REGISTER: u32 = 0xffff_ffff; + macro_rules! ffi_wrap { ($n:expr, $b:expr) => {{ use std::panic; |
