diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/32007-Issue_3052.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/32007-Issue_3052.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/32007-Issue_3052.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/32007-Issue_3052.cpp new file mode 100644 index 00000000..cb468be3 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/cpp/32007-Issue_3052.cpp @@ -0,0 +1,11 @@ +#define VTABLE_DECLARE \ + extern struct vtable_struct_name_macro vtable_base_macro; \ + struct vtable_struct_name_macro + +#define VTABLE_METHOD(retvalue, method, args ...) \ + retvalue(*method)(args) + +VTABLE_DECLARE { + VTABLE_METHOD(int, get, const char *name); + VTABLE_METHOD(int, set, const char *name, int value); +}; |