Untitled


SUBMITTED BY: Guest

DATE: Nov. 25, 2014, 7:18 a.m.

FORMAT: Text only

SIZE: 731 Bytes

HITS: 47569

  1. /* CoreGraphics - CGError.h
  2. Copyright (c) 2000-2011 Apple Inc.
  3. All rights reserved. */
  4. #ifndef CGERROR_H_
  5. #define CGERROR_H_
  6. #include <CoreGraphics/CGBase.h>
  7. #include <stdint.h>
  8. /* Types used for errors and error handlers. */
  9. enum _CGError {
  10. kCGErrorSuccess = 0,
  11. kCGErrorFailure = 1000,
  12. kCGErrorIllegalArgument = 1001,
  13. kCGErrorInvalidConnection = 1002,
  14. kCGErrorInvalidContext = 1003,
  15. kCGErrorCannotComplete = 1004,
  16. kCGErrorNotImplemented = 1006,
  17. kCGErrorRangeCheck = 1007,
  18. kCGErrorTypeCheck = 1008,
  19. kCGErrorInvalidOperation = 1010,
  20. kCGErrorNoneAvailable = 1011,
  21. };
  22. typedef int32_t CGError;
  23. #endif /* CGERROR_H_ */

comments powered by Disqus