mirror of
https://github.com/servo/servo.git
synced 2025-06-18 13:24:29 +00:00
Generate bindings for HTMLDivElement, and pass abstract type to methods that need access to the opaque wrappers.
This commit is contained in:
parent
08ed6d318e
commit
65a33f60e5
10 changed files with 161 additions and 131 deletions
|
@ -141,6 +141,7 @@ class Descriptor(DescriptorProvider):
|
|||
self.nativeType = desc.get('nativeType', nativeTypeDefault)
|
||||
self.pointerType = desc.get('pointerType', '@mut ')
|
||||
self.concreteType = desc.get('concreteType', ifaceName)
|
||||
self.needsAbstract = desc.get('needsAbstract', [])
|
||||
self.hasInstanceInterface = desc.get('hasInstanceInterface', None)
|
||||
|
||||
# Do something sane for JSObject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue