mirror of
https://github.com/servo/servo.git
synced 2025-06-13 10:54:29 +00:00
Support callback return types in codegen
This commit is contained in:
parent
aea6f849a0
commit
b2b3fbc6e0
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue