Skip to content

Commit

Permalink
Correct the README on the rustbindgen attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Jul 1, 2016
1 parent 6f73db9 commit cffef57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ Annotations
-----------
The translation of classes, structs, enums, and typedefs can be adjusted using annotations. Annotations are specifically formatted html tags inside doxygen style comments. The opaque annotation instructs bindgen to ignore all fields defined in a struct/class.

/// <div rust-bindgen opaque></div>
/// <div rustbindgen opaque></div>

The hide annotation instructs bindgen to ignore the struct/class/field/enum completely.

/// <div rust-bindgen hide></div>
/// <div rustbindgen hide></div>

Macro Usage
-----------
Expand Down

0 comments on commit cffef57

Please sign in to comment.