mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-31 10:22:15 +00:00
fixes types with a header
This commit is contained in:
@@ -235,7 +235,7 @@ proc isImportedType(t: PType): bool =
|
||||
result = t.sym != nil and sfImportc in t.sym.flags
|
||||
|
||||
proc isNoDeclType(t: PType): bool =
|
||||
result = t.sym != nil and lfNoDecl in t.sym.loc.flags
|
||||
result = t.sym != nil and {lfNoDecl, lfHeader} * t.sym.loc.flags = {}
|
||||
|
||||
proc isImportedCppType(t: PType): bool =
|
||||
let x = t.skipTypes(irrelevantForBackend)
|
||||
|
||||
Reference in New Issue
Block a user