|author||Morten Johan Sørvig <email@example.com>||2013-10-31 13:03:24 +0100|
|committer||The Qt Project <firstname.lastname@example.org>||2013-11-05 17:37:05 +0100|
Declare Cocoa conversion funcs in objc-mode only.
In practice, there are several ways to forward-declare objective-c classes. Qt uses "struct objc_object", other projects may use a plain "class". Mismatched forward declarations will lead to compile errors, and this is a form of header pollution. dd5e40d9 added a workaround where Q_FORWARD_DECLARE_OBJC_CLASS can be predefined in order to sync up the declarations. Make forward declaration clashes less likely by forward-declaring in objc-mode only. Change-Id: I9f7a399d64dc88bfe05d5385b3d46b5302112aef Reviewed-by: Tor Arne Vestbø <email@example.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions