box_raw_ptr 2.0.0

A Rust library providing safe wrappers for working with raw pointer. These raw pointers are `*const T` and `*mut T`. These wrappers ensure memory safety by encapsulating the raw pointers in safe abstractions and providing safe methods for working with them.
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    /*
    Compiles a static library from allocator.c file
    NOTE: when using link attribute in projects, set
    'kind' parameter to correct file state or else linking errors will occur
    example: #[link(name = "example", kind = "static")]
    */
    cc::Build::new()
        .file("src/allocator.c")
        .compile("allocator")
}