bridge_create

Function bridge_create 

pub unsafe fn bridge_create(rust_handler_ptr: usize) -> usize
Expand description

Create a new RustApplicationBridge instance

§Arguments

  • rust_handler_ptr - Pointer to Rust FixApplication trait object (as usize)

§Returns

  • Pointer to RustApplicationBridge (as usize), or 0 on failure

§Safety

The rust_handler must be valid pointer to Box