mirror of
https://github.com/servo/servo.git
synced 2025-06-09 09:03:23 +00: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
|
||||
|
||||
class CGWrapMethod(CGAbstractMethod):
|
||||
"""
|
||||
Class that generates the FooBinding::Wrap function for non-callback
|
||||
interfaces.
|
||||
"""
|
||||
def __init__(self, descriptor):
|
||||
assert not descriptor.interface.isCallback()
|
||||
if not descriptor.createGlobal:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue