diff options
author | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-04-04 17:49:38 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-04-04 17:49:38 +0200 |
commit | d3cfcf66e4306ef209fefb8c079a725cb7dce90e (patch) | |
tree | a36ba4fcaa8c1acfdfbd196e97e2a3f8d764d004 /tests | |
parent | e36138ea6733f882dd1d95992aaee307ff0cc69c (diff) |
parser: Honour annotations on typedefs and fully on type declarations.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/headers/annotation_hide.hpp | 5 | ||||
-rw-r--r-- | tests/headers/class_nested.hpp | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/headers/annotation_hide.hpp b/tests/headers/annotation_hide.hpp new file mode 100644 index 00000000..33bfb353 --- /dev/null +++ b/tests/headers/annotation_hide.hpp @@ -0,0 +1,5 @@ + +/** + * <div rustbindgen="true" hide="true"></div> + */ +struct C; diff --git a/tests/headers/class_nested.hpp b/tests/headers/class_nested.hpp index e9c07d64..05a775b8 100644 --- a/tests/headers/class_nested.hpp +++ b/tests/headers/class_nested.hpp @@ -1,7 +1,13 @@ class A { +public: int member_a; class B { int member_b; }; }; +A::B var; + +class D { + A::B member; +}; |