rust-block

Rust interface for Apple's C language extension of blocks. (by SSheldon)

Rust-block Alternatives

Similar projects and alternatives to rust-block

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rust-block alternative or higher similarity.

rust-block reviews and mentions

Posts with mentions or reviews of rust-block. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-13.
  • macOS Apps in Rust
    8 projects | news.ycombinator.com | 13 May 2023
  • Baby's first Rust with extra steps (XPC, launchd, and FFI)!
    7 projects | dev.to | 16 Jun 2021
    let block = ConcreteBlock::new(move |key: *const c_char, value: xpc_object_t| { unsafe { xpc_retain(value) }; let str_key = unsafe { CStr::from_ptr(key).to_string_lossy().to_string() }; let xpc_object: XPCObject = value.into(); map_refcell .borrow_mut() .insert(str_key, xpc_object.into()); true }); // https://github.com/SSheldon/rust-block#creating-blocks let block = block.copy(); let ok = unsafe { xpc_dictionary_apply(object.as_ptr(), &*block as *const _ as *mut _) };

Stats

Basic rust-block repo stats
2
47
0.0
3 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com