# Imported modules with public Objective-C code blocks
var objc_imported_headers: HashSet[MModule] is lazy do
var dep = new HashSet[MModule]
# gather from importation
for m in in_importation.direct_greaters do
# does the super module has inherited dependencies?
var import_dep = m.objc_imported_headers
if not import_dep.is_empty then
dep.add_all import_dep
end
# does the super module itself has a public header?
if m.has_public_objc_header then dep.add(m)
end
return dep
end
src/ffi/objc.nit:38,2--55,4