| | 1566 | |
| | 1567 | == `[ExportMacro]`(i) == #ExportMacro |
| | 1568 | |
| | 1569 | Standard: This is a non-standard IDL extended attribute. |
| | 1570 | |
| | 1571 | Summary: 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 | |
| | 1573 | Usage: [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 | }}} |