mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Support skip_longhands="*" on geckolib struct trait definitions.
This commit is contained in:
parent
d8969e2447
commit
66a3769446
1 changed files with 2 additions and 1 deletions
|
@ -332,7 +332,8 @@ impl Debug for ${style_struct.gecko_ffi_name} {
|
|||
|
||||
<%def name="raw_impl_trait(style_struct, skip_longhands='', skip_additionals='')">
|
||||
<%
|
||||
longhands = [x for x in style_struct.longhands if not x.name in skip_longhands.split()]
|
||||
longhands = [x for x in style_struct.longhands
|
||||
if not (skip_longhands == "*" or x.name in skip_longhands.split())]
|
||||
|
||||
#
|
||||
# Make a list of types we can't auto-generate.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue