jsi-sys 0.3.0-alpha.5

Low-level interface to React Native JSI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cxx::bridge]
pub mod ffi {
    #[namespace = "facebook::react"]
    unsafe extern "C++" {
        include!("ReactCommon/CallInvokerHolder.h");

        type CallInvoker = crate::ffi::base::CallInvoker;
        pub type CallInvokerHolder;

        pub fn getCallInvoker(self: Pin<&mut CallInvokerHolder>) -> SharedPtr<CallInvoker>;
    }
}

pub use ffi::CallInvokerHolder;