diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-11-10 20:53:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-10 20:53:47 -0500 |
commit | 8489d42c47d46ed63f168cd0c913e5a65c6c942a (patch) | |
tree | 4f3d5398ee7ef47b39e6c5475221de26cbd60ce2 /bindgen-integration/cpp/Test.h | |
parent | 2a07619ad0aaed985d401dbe9eac2da9d2f32de8 (diff) | |
parent | 5b741da6e9a4a0737df37cb04a8adee0d30224df (diff) |
Auto merge of #1438 - ekse:item_name, r=emilio
Add item_name parse callback.
Issue: #428
Diffstat (limited to 'bindgen-integration/cpp/Test.h')
-rw-r--r-- | bindgen-integration/cpp/Test.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bindgen-integration/cpp/Test.h b/bindgen-integration/cpp/Test.h index 8b9ad8d5..fe9bf0d4 100644 --- a/bindgen-integration/cpp/Test.h +++ b/bindgen-integration/cpp/Test.h @@ -178,3 +178,16 @@ struct AutoRestoreBool { 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(); + +struct my_prefixed_bar { + int foo; +}; + +struct my_prefixed_foo { + my_prefixed_bar member; +}; |