[Webkit-unassigned] [Bug 56462] New: Implement OBJC_CLASS macro in WebCore/config.h

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 16 08:12:17 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=56462

           Summary: Implement OBJC_CLASS macro in WebCore/config.h
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org
                CC: andersca at apple.com, sam at webkit.org,
                    simon.fraser at apple.com, dino at apple.com,
                    cmarrin at apple.com


The WebKit2/config.h header has the following OBJC_CLASS macro defined:

#ifdef __OBJC__
#define OBJC_CLASS @class
#else
#define OBJC_CLASS class
#endif

This makes it possible to declare classes once for both Obj-C[++] and C++ source.  It would remove over 20 lines of declarations in Source/WebCore/platform/mac/WebCoreSystemInterface.h and other headers where both types must be declared.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list