                 DispatchQueue(label: "com.github.rhx.gir2swift.alphaqueue.\(Character(UnicodeScalar(atChar + UInt8(i))))")
             } : []
             let outq = DispatchQueue(label: "com.github.rhx.gir2swift.outputqueue")
-            if outputDirectory == nil { print(modulePrefix + preamble) }
+            if outputDirectory == nil { outputString += modulePrefix + preamble }
 
             func write(_ string: String, to fileName: String, preamble: String = preamble, append doAppend: Bool = false) {
                 do {

                        let convert = ptrconvert(type.ptrName)
                        return convert(type)
                    }.joined(separator: "\n\n")
                    outq.async(group: queues) { print(code) }
                }
            }


                    try? fileManager.removeItem(atPath: f)
                    if alphaNames {
                        try? preamble.write(toFile: f, atomically: true, encoding: .utf8)
                        outq.async(group: queues) { outputFiles.insert(f) }
                    }
                }
            }
