diff options
author | Sébastien Duquette <ekse.0x@gmail.com> | 2018-11-10 20:32:29 -0500 |
---|---|---|
committer | Sébastien Duquette <ekse.0x@gmail.com> | 2018-11-10 20:32:29 -0500 |
commit | 5b741da6e9a4a0737df37cb04a8adee0d30224df (patch) | |
tree | 47de1c449f693f68c442fdf6e72342c9724ef1ea /bindgen-integration/cpp/Test.h | |
parent | c5c13535ff058e2c0aff3d1d0b5b08ae04fdc237 (diff) |
Add tests for renamed structure items
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
-rw-r--r-- | bindgen-integration/cpp/Test.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/bindgen-integration/cpp/Test.h b/bindgen-integration/cpp/Test.h index 10f1b57f..fe9bf0d4 100644 --- a/bindgen-integration/cpp/Test.h +++ b/bindgen-integration/cpp/Test.h @@ -179,6 +179,15 @@ struct WithWChar { wchar_t foo[30]; }; +// The names of the following items are unprefixed by the parse callbacks. const int MY_PREFIXED_CONST_VALUE = 3; -int my_prefixed_function_name();
\ No newline at end of file +int my_prefixed_function_name(); + +struct my_prefixed_bar { + int foo; +}; + +struct my_prefixed_foo { + my_prefixed_bar member; +}; |