Skip to main content

shape_jit/ffi/
mod.rs

1//! FFI Functions for JIT-compiled Code
2//!
3//! External C functions that are called from JIT-compiled code to perform
4//! operations that cannot be done inline (heap allocation, complex logic, etc.)
5
6pub mod arc;
7pub mod array;
8pub mod jit_release;
9pub mod data;
10pub mod jit_kinds;
11pub mod stack_kind_code;
12pub mod object;
13// DELETED: Finance-specific indicator JIT module
14// pub mod indicator;
15pub mod async_ops;
16pub mod call_method;
17pub mod control;
18pub mod conversion;
19pub mod gc;
20pub mod generic_builtin;
21pub mod iterator;
22pub mod join;
23pub mod math;
24pub mod references;
25pub mod result;
26pub mod simd;
27// W12-jit-string-carrier-unification (Phase 3 cluster-0 Round 12 T2/T3,
28// 2026-05-13). §2.7.5 `Arc<String>` strict-typed carrier retain/release +
29// compile-time constant helper. See module header for the carrier-shape
30// rule binding.
31pub mod string;
32pub mod typed_object;
33pub mod v2;
34pub mod value_ffi;
35// V2.b: v2_array (v1 TypedArrayHeader FFI) deleted — canonical FFI is `v2/mod.rs`
36pub mod v2_core;
37pub mod v2_math;
38pub mod v2_string_ffi;
39pub mod v2_struct;
40pub mod v2_typed;
41
42// Re-export all FFI functions for easy access
43pub use jit_kinds::*;
44pub use value_ffi::*;
45pub use array::*;
46pub use data::*;
47pub use object::*;
48// DELETED: Finance-specific indicator exports
49// pub use indicator::*;
50pub use async_ops::*;
51pub use call_method::jit_call_method;
52pub use control::*;
53pub use conversion::*;
54pub use gc::*;
55pub use generic_builtin::*;
56pub use iterator::*;
57pub use join::*;
58pub use math::*;
59pub use references::*;
60pub use result::*;
61pub use simd::*;
62pub use typed_object::*;
63pub use v2_typed::*;