Function palombe::c_receive[][src]

#[no_mangle]
pub extern "C" fn c_receive(key: &CString) -> CString
Expand description

Same as receive function, but fulfilled for C compatibility

Example

extern create palombe;
use std::ffi::CString;
 
fn main() {
    let key = CString::new("foo").unwrap();
    let value: CString = palombe.receive(&key);
}