Changeset 247149 in webkit


Ignore:
Timestamp:
Jul 5, 2019 4:23:19 AM (5 years ago)
Author:
Adrian Perez de Castro
Message:

[ATK] Do not use C linkage for functions using C++ features
https://bugs.webkit.org/show_bug.cgi?id=199510
<rdar://problem/52674702>

Reviewed by Carlos Garcia Campos.

No new tests needed.

  • accessibility/atk/WebKitAccessible.h: Move function and type declarations involving

C++ features outside of the block delimited by the G_BEGIN_DECLS and G_END_DECLS macros,
which were setting the C linkage.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r247148 r247149  
     12019-07-05  Adrian Perez de Castro  <aperez@igalia.com>
     2
     3        [ATK] Do not use C linkage for functions using C++ features
     4        https://bugs.webkit.org/show_bug.cgi?id=199510
     5        <rdar://problem/52674702>
     6
     7        Reviewed by Carlos Garcia Campos.
     8
     9        No new tests needed.
     10
     11        * accessibility/atk/WebKitAccessible.h: Move function and type declarations involving
     12        C++ features outside of the block delimited by the G_BEGIN_DECLS and G_END_DECLS macros,
     13        which were setting the C linkage.
     14
    1152019-07-05  Antoine Quint  <graouts@apple.com>
    216
  • trunk/Source/WebCore/accessibility/atk/WebKitAccessible.h

    r243970 r247149  
    5656};
    5757
     58GType webkit_accessible_get_type(void);
     59
     60G_END_DECLS
     61
     62// The definitions below are only used in C++ code, and some use C++ types,
     63// therefore they should be outside of the G_BEGIN_DECLS/G_END_DECLS block
     64// to make them use the C++ ABI.
     65
    5866enum AtkCachedProperty {
    5967    AtkCachedAccessibleName,
     
    6876};
    6977
    70 GType webkit_accessible_get_type(void);
    71 
    7278WebKitAccessible* webkitAccessibleNew(WebCore::AccessibilityObject*);
    7379
     
    8086const char* webkitAccessibleCacheAndReturnAtkProperty(WebKitAccessible*, AtkCachedProperty, CString&&);
    8187
    82 G_END_DECLS
    83 
    8488#endif // HAVE(ACCESSIBILITY)
Note: See TracChangeset for help on using the changeset viewer.