8 releases

0.3.0 Mar 12, 2016
0.2.2 Jun 18, 2015
0.1.3 Jun 16, 2015

#313 in Rust patterns

Download history 11/week @ 2020-01-25 12/week @ 2020-02-01 19/week @ 2020-02-08 19/week @ 2020-02-15 32/week @ 2020-02-22 11/week @ 2020-02-29 23/week @ 2020-03-07 18/week @ 2020-03-14 31/week @ 2020-03-21 39/week @ 2020-03-28 24/week @ 2020-04-04 67/week @ 2020-04-11 10/week @ 2020-04-18 10/week @ 2020-04-25 7/week @ 2020-05-02 10/week @ 2020-05-09

104 downloads per month
Used in 2 crates

MIT license

7KB
180 lines

CBox

This library provides a CBox struct, which provides a uniform API for C pointers that are owned by Rust types. It simply calls the C destructor when it falls out of scope.


lib.rs:

Provides two types, CSemiBox and DisposeRef

Dependencies

~25KB