Skip to main content

Module ffi

Module ffi 

Source

Re-exportsยง

use std::cell::RefCell; ๐Ÿ”’
use std::ffi::c_char; ๐Ÿ”’
use std::ptr; ๐Ÿ”’
use std::string::FromUtf8Error; ๐Ÿ”’
use libc::size_t; ๐Ÿ”’

Structsยง

Blame
RustStringInner ๐Ÿ”’
Underlying implementation of RustString.

Functionsยง

LLVMRustSpecialCaseListCreate ๐Ÿ”’ โš 
LLVMRustSpecialCaseListDestroy ๐Ÿ”’ โš 
LLVMRustSpecialCaseListInSectionBlame ๐Ÿ”’ โš 
build_string ๐Ÿ”’

Foreign Typesยง

Opaque ๐Ÿ”’
RustString ๐Ÿ”’
Opaque type that allows C++ code to write bytes to a Rust-side buffer, in conjunction with RawRustStringOstream. Use this as &RustString (Rust) and RustStringRef (C++) in FFI signatures.