self.enums.sort(key=(lambda e: e.value))
self.core_version = detect_core_version(host_api, things, debug)
self.deprecated_version = detect_deprecated_version(host_api, things, debug)
- self.backport_ext = detect_backport_extension(host_api, things);
+ self.backport_ext = detect_backport_extension(host_api, things)
b, e = detect_source_extension(host_api, things, debug)
self.base_version = b
self.source_exts = e
supp = f.api_support.get(self.host_api.name)
src = None
for e in self.source_exts:
- if f in e.things:
+ if f.name in e.things:
src = f
elif supp:
for s in supp.sources: