| OLD | NEW |
| 1 {% from "macros.tmpl" import license %} | 1 {% from "macros.tmpl" import license %} |
| 2 {{ license() }} | 2 {{ license() }} |
| 3 | 3 |
| 4 #ifndef MediaFeatures_h | 4 #ifndef MediaFeatures_h |
| 5 #define MediaFeatures_h | 5 #define MediaFeatures_h |
| 6 | 6 |
| 7 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \ | 7 #define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \ |
| 8 {% for entry in entries %} | 8 {% for entry in entries %} |
| 9 macro({{entry|symbol}}){% if not loop.last %} \ | 9 {% set constant_prefix = entry | symbol %} |
| 10 {% set method_prefix = constant_prefix | upper_first_letter %} |
| 11 macro({{constant_prefix}}, {{method_prefix}}){% if not loop.last %} \ |
| 10 {% endif %} | 12 {% endif %} |
| 11 {% endfor %} | 13 {% endfor %} |
| 12 | 14 |
| 13 #endif | 15 #endif |
| OLD | NEW |