Skip to content

Commit 3d8bf61

Browse files
committed
chore: Fix markdown lints
1 parent 4eb31a1 commit 3d8bf61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
# opaque-pointer-rs
2+
23
Generic functions to work with opaque pointers when use FFI to expose Rust structs
34

45
[![Crates.io](https://img.shields.io/crates/v/opaque-pointer)](https://crates.io/crates/opaque-pointer)
56
[![Crates.io](https://img.shields.io/crates/l/opaque-pointer)](https://unlicense.org/)
6-
[![Crates.io](https://img.shields.io/crates/d/opaque-pointer)]()
7+
[![Crates.io](https://img.shields.io/crates/d/opaque-pointer)](.)
78

89
## Basic usage
10+
911
With this crate you can manage raw pointers easily to expose structs that will be
1012
use as opaque pointers from C or C++ calling to Rust functions to use it. This
1113
can be used with [cbindgen](https://crates.io/crates/cbindgen) crate with option `parse.parse_deps = true` for it will
1214
generate opaque C/C++ structs to use pointers in the arguments. You can find
1315
more information in [The Rust FFI Omnibus objects section](http://jakegoulding.com/rust-ffi-omnibus/objects/) of Jake Goulding.
1416

1517
Example:
18+
1619
```rust
1720
struct TestIt {
1821
value: u8,

0 commit comments

Comments
 (0)