Skip to content

Commit

Permalink
Escape swift identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed May 8, 2020
1 parent 5469f0d commit 84f8d96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/RswiftCore/SwiftTypes/Type.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ struct Type: UsedTypesProvider, CustomStringConvertible, Hashable {
static let _UInt = Type(module: .stdLib, name: "UInt")
static let _Double = Type(module: .stdLib, name: "Double")
static let _Character = Type(module: .stdLib, name: "Character")
static let _CStringPointer = Type(module: .stdLib, name: "UnsafePointer<CChar>")
static let _VoidPointer = Type(module: .stdLib, name: "UnsafePointer<Void>")
static let _CStringPointer = Type(module: .stdLib, name: SwiftIdentifier(rawValue: "UnsafePointer<CChar>"))
static let _VoidPointer = Type(module: .stdLib, name: SwiftIdentifier(rawValue: "UnsafePointer<Void>"))
static let _URL = Type(module: "Foundation", name: "URL")
static let _Bundle = Type(module: "Foundation", name: "Bundle")
static let _Locale = Type(module: "Foundation", name: "Locale")
Expand Down

0 comments on commit 84f8d96

Please sign in to comment.