Support callback return types in codegen

This commit is contained in:
Chris Paris 2014-08-28 17:03:34 -10:00
parent aea6f849a0
commit b2b3fbc6e0
2 changed files with 2 additions and 2 deletions

View file

@ -1030,7 +1030,7 @@ def typeRetValNeedsRooting(type):
return False
if type.nullable():
type = type.inner
return type.isGeckoInterface() and not type.isCallback()
return type.isGeckoInterface() and not type.isCallback() and not type.isCallbackInterface()
def memberIsCreator(member):
return member.getExtendedAttribute("Creator") is not None