Changes between Version 150 and Version 151 of WebKitIDL


Ignore:
Timestamp:
Apr 11, 2016 9:07:19 AM (6 years ago)
Author:
Chris Dumez
Comment:

Add [ExportMacro]

Legend:

Unmodified
Added
Removed
Modified
  • WebKitIDL

    v150 v151  
    5656 - [#Unforgeable Unforgeable(i)][[br]]
    5757 - [#JSBuiltin JSBuiltin(i,m,a), Private][[br]]
     58 - [#ExportMacro ExportMacro(i)][[br]]
    5859
    5960= Overview = #Overview
     
    15631564    };
    15641565}}}
     1566
     1567== `[ExportMacro]`(i) == #ExportMacro
     1568
     1569Standard: This is a non-standard IDL extended attribute.
     1570
     1571Summary: If [ExportMacro=XXX] is set on an interface ABC, it tells the code generator that the corresponding JSABC class should be exported using the provided XXX macro.
     1572
     1573Usage: [ExportMacro=XXX] can be specified on interfaces. Its currently supported values are: WEBCORE_EXPORT and WEBCORE_TESTSUPPORT_EXPORT.
     1574{{{
     1575    [
     1576        ExportMacro=WEBCORE_EXPORT
     1577    ] interface X {
     1578        ...
     1579    };
     1580
     1581    [
     1582        ExportMacro=WEBCORE_TESTSUPPORT_EXPORT
     1583    ] interface Y {
     1584        ...
     1585    };
     1586}}}