diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-03-29 15:07:49 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-04-18 00:11:13 +0200 |
commit | c4449c040c30a235c7871ec19b6ead413e8d094f (patch) | |
tree | f5f54a2512009e5bf0c3c81a8c1bef905278369b /src/plugins/platforms/ios | |
parent | db7dc358978d93a246c020143ebcacf1fcf87217 (diff) |
Add helper template for metacall event creation
Setting up the args and types arrays is cumbersome and error prone, and
we do it at least twice in qtbase. Provide a central implementation as a
variadic template function, and make it exception-safe with a unique_ptr
(the destructor of QMetaCallEvent will destroy the cloned arguments).
Change-Id: I5ff400467928446264eaedddb394691e9e23d22e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/ios')
0 files changed, 0 insertions, 0 deletions