mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
12
components/script/dom/bindings/codegen/parser/module.patch
Normal file
12
components/script/dom/bindings/codegen/parser/module.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- WebIDL.py
|
||||
+++ WebIDL.py
|
||||
@@ -3398,6 +3398,9 @@ class IDLCallbackType(IDLType, IDLObjectWithScope):
|
||||
self._treatNonCallableAsNull = False
|
||||
self._treatNonObjectAsNull = False
|
||||
|
||||
+ def module(self):
|
||||
+ return self.location.filename().split('/')[-1].split('.webidl')[0] + 'Binding'
|
||||
+
|
||||
def isCallback(self):
|
||||
return True
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue