     /// explicit, idiomatic type name (empty if same as the underlying C type)
     @inlinable var prefixedIdiomaticWrappedTypeName: String {
         let ref = prefixedIdiomaticWrappedRef
-        guard ref == swiftReturnRef else { return ref.type.swiftName }
+        guard ref == swiftReturnRef else { return ref.type.swiftNamePrefixedWhereNecessary }
         guard ref != typeRef else { return "" }
         let typeName = swiftReturnRef.fullTypeName
         return typeName

    /// explicit, idiomatic class type name (empty if same as the underlying C type)
    @inlinable var idiomaticClassTypeName: String {
        let ref = idiomaticClassRef
        guard ref == swiftReturnRef else { return ref.type.swiftName }
        guard ref != typeRef else { return "" }
        let typeName = swiftReturnRef.fullTypeName
        return typeName

    /// explicit, idiomatic class type name (empty if same as the underlying C type)
    @inlinable var prefixedIdiomaticClassTypeName: String {
        let ref = prefixedIdiomaticClassRef
        guard ref == swiftReturnRef else { return ref.type.swiftNamePrefixedWhereNecessary }
        guard ref != typeRef else { return "" }
        let typeName = swiftReturnRef.fullTypeName
        return typeName
