Module jlrs::ccall[][src]

Expand description

Interact with Julia when calling Rust from Julia.

This module is only available if the ccall feature is enabled.

Structs

When you call Rust from Julia through ccall, Julia has already been initialized and trying to initialize it again would cause a crash. In order to still be able to call Julia from Rust and to borrow arrays (if you pass them as Array rather than Ptr{Array}), you’ll need to create a frame first. You can use this struct to do so. It must never be used outside functions called through ccall, and only once for each ccalled function.