Reinstate IDLCallbackType.module.

This commit is contained in:
Ms2ger 2014-06-07 17:27:02 +02:00
parent 4b65f47315
commit 4786c30bce

View file

@ -3048,6 +3048,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