rust-block icon indicating copy to clipboard operation
rust-block copied to clipboard

Rust interface for Apple's C language extension of blocks.

Results 14 rust-block issues
Sort by recently updated
recently updated
newest added

In this function you use the unsafe keyword for almost the entrie function body. However, I found that only 1 function are real unsafe operations (see the list below). We...

this PR adds a license file taken from rust https://github.com/rust-lang/rust/blob/master/LICENSE-MIT and closes #13. @SSheldon I'm happy to get any feedback or review.

For packaging of downstream packages it would be nice to have a dedicated license which is used to gather all licenses of all depencies and repackage these license files.

> It is important to copy your block to the heap (with the copy method) before passing it to Objective-C; this is because our ConcreteBlock is only meant to be...

The `gcc` crate has been replaced with `cc`. Additionally, the `gcc:Config` was renamed to `gcc::Build`. This updates both of those.

Examples would be really nice.

Hi! Another pull request for better support for non-Apple OSes. This adds support for linking against the GNUstep blocks runtime.

I tried using the alpha 6 of `block2`, which lead me to `objc2_encode` which asked me to implement `Encode` and `RefEncode` 1. It is bothersome to implement for the default...