mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add a documentation comment for CGWrapMethod.
This commit is contained in:
parent
30c66debb0
commit
ef357bbbb0
1 changed files with 4 additions and 0 deletions
|
@ -1787,6 +1787,10 @@ JS_SetReservedSlot(obj, DOM_OBJECT_SLOT as u32,
|
||||||
return create
|
return create
|
||||||
|
|
||||||
class CGWrapMethod(CGAbstractMethod):
|
class CGWrapMethod(CGAbstractMethod):
|
||||||
|
"""
|
||||||
|
Class that generates the FooBinding::Wrap function for non-callback
|
||||||
|
interfaces.
|
||||||
|
"""
|
||||||
def __init__(self, descriptor):
|
def __init__(self, descriptor):
|
||||||
assert not descriptor.interface.isCallback()
|
assert not descriptor.interface.isCallback()
|
||||||
if not descriptor.createGlobal:
|
if not descriptor.createGlobal:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue