IMError.swift 737 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * ImageMeter confidential
  3. *
  4. * Copyright (C) 2018-2019 by Dirk Farin, Kronenstr. 49b, 70174 Stuttgart, Germany
  5. * All Rights Reserved.
  6. *
  7. * NOTICE: All information contained herein is, and remains the property
  8. * of Dirk Farin. The intellectual and technical concepts contained
  9. * herein are proprietary to Dirk Farin and are protected by trade secret
  10. * and copyright law.
  11. * Dissemination of this information or reproduction of this material
  12. * is strictly forbidden unless prior written permission is obtained
  13. * from Dirk Farin.
  14. */
  15. import Foundation
  16. public class IMError {
  17. var error : OpaquePointer?
  18. init (ptr : OpaquePointer) {
  19. error = ptr
  20. }
  21. deinit {
  22. IM_Error_release(error)
  23. }
  24. }