Skip to content

Commit

Permalink
Add link to cpp! macro example code
Browse files Browse the repository at this point in the history
  • Loading branch information
naufraghi authored and ogoffart committed Oct 21, 2018
1 parent a5b7456 commit 141c808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ this crate.

In this case, it is always possible to access C++ directly from your rust code using the cpp! macro.

Example: from examples/graph/src/main.rs, the struct Graph is a QObject deriving from QQuickItem,
Example: from [`examples/graph/src/main.rs`](https://github.com/woboq/qmetaobject-rs/blob/a5b7456bdd22b856dfae49d513c06ecddd6499fc/examples/graph/src/main.rs#L37), the struct Graph is a QObject deriving from QQuickItem,
QQuickItem::setFlag is currently not exposed in the API but we wish to call it anyway.

```rust
Expand Down

0 comments on commit 141c808

Please sign in to comment.