Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #ifndef __MONODROID_H
  2. #define __MONODROID_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /* VS 2010 and later have stdint.h */
  7. #if defined(_MSC_VER)
  8. #define MONO_API_EXPORT __declspec(dllexport)
  9. #define MONO_API_IMPORT __declspec(dllimport)
  10. #else /* defined(_MSC_VER */
  11. #define MONO_API_EXPORT __attribute__ ((visibility ("default")))
  12. #define MONO_API_IMPORT
  13. #endif /* !defined(_MSC_VER) */
  14. #if defined(MONO_DLL_EXPORT)
  15. #define MONO_API MONO_API_EXPORT
  16. #elif defined(MONO_DLL_IMPORT)
  17. #define MONO_API MONO_API_IMPORT
  18. #else /* !defined(MONO_DLL_IMPORT) && !defined(MONO_API_IMPORT) */
  19. #define MONO_API
  20. #endif /* MONO_DLL_EXPORT... */
  21. enum FatalExitCodes
  22. {
  23. FATAL_EXIT_CANNOT_FIND_MONO = 1,
  24. FATAL_EXIT_ATTACH_JVM_FAILED = 2,
  25. FATAL_EXIT_DEBUGGER_CONNECT = 3,
  26. FATAL_EXIT_CANNOT_FIND_JNIENV = 4,
  27. FATAL_EXIT_CANNOT_FIND_APK = 10,
  28. FATAL_EXIT_TRIAL_EXPIRED = 11,
  29. FATAL_EXIT_PTHREAD_FAILED = 12,
  30. FATAL_EXIT_MISSING_ASSEMBLY = 13,
  31. FATAL_EXIT_CANNOT_LOAD_BUNDLE = 14,
  32. FATAL_EXIT_CANNOT_FIND_LIBMONOSGEN = 15,
  33. FATAL_EXIT_NO_ASSEMBLIES = 'A',
  34. FATAL_EXIT_MONO_MISSING_SYMBOLS = 'B',
  35. FATAL_EXIT_FORK_FAILED = 'F',
  36. FATAL_EXIT_MISSING_INIT = 'I',
  37. FATAL_EXIT_MISSING_TIMEZONE_MEMBERS = 'T',
  38. FATAL_EXIT_MISSING_ZIPALIGN = 'Z',
  39. FATAL_EXIT_OUT_OF_MEMORY = 'M',
  40. };
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44. #endif /* defined __MONODROID_H */