mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdm
This commit is contained in:
parent
26567ef2e6
commit
c81f1cc541
5 changed files with 47 additions and 20 deletions
|
@ -3262,7 +3262,8 @@ class IDLAttribute(IDLInterfaceMember):
|
|||
identifier == "Frozen" or
|
||||
identifier == "AvailableIn" or
|
||||
identifier == "NewObject" or
|
||||
identifier == "CheckPermissions"):
|
||||
identifier == "CheckPermissions" or
|
||||
identifier == "BinaryName"):
|
||||
# Known attributes that we don't need to do anything with here
|
||||
pass
|
||||
else:
|
||||
|
@ -3861,7 +3862,8 @@ class IDLMethod(IDLInterfaceMember, IDLScope):
|
|||
identifier == "Pref" or
|
||||
identifier == "Func" or
|
||||
identifier == "AvailableIn" or
|
||||
identifier == "CheckPermissions"):
|
||||
identifier == "CheckPermissions" or
|
||||
identifier == "BinaryName"):
|
||||
# Known attributes that we don't need to do anything with here
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue