MangledName.swift 365 B

123456789101112131415
  1. //
  2. // MangledName.swift
  3. // HandyJSON
  4. //
  5. // Created by chantu on 2019/2/2.
  6. // Copyright © 2019 aliyun. All rights reserved.
  7. //
  8. import Foundation
  9. // mangled name might contain 0 but it is not the end, do not just use strlen
  10. func getMangledTypeNameSize(_ mangledName: UnsafePointer<UInt8>) -> Int {
  11. // TODO: should find the actually size
  12. return 256
  13. }