Add a documentation comment for CGWrapMethod.

This commit is contained in:
Ms2ger 2014-08-19 16:10:47 +02:00
parent 30c66debb0
commit ef357bbbb0

View file

@ -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: