this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[duct] Add "crashreporter_annotations_t" struct

Thomas A f2243423 e105a1b3

+20
+20
src/duct/include/CrashReporterClient.h
··· 1 1 #ifndef CRASHREPORTERCLIENT_H_ 2 2 #define CRASHREPORTERCLIENT_H_ 3 3 4 + #include <stdint.h> 5 + 4 6 #ifdef __cplusplus 5 7 extern "C" { 6 8 #endif 7 9 10 + #define CRASHREPORTER_ANNOTATIONS_SECTION "__crash_info" 11 + #define CRASHREPORTER_ANNOTATIONS_VERSION 5 12 + #define CRASH_REPORTER_CLIENT_HIDDEN __attribute__((visibility("hidden"))) 13 + 8 14 inline void CRSetCrashLogMessage(const char* text) {} 9 15 inline void CRSetCrashLogMessage2(const char* path) {} 10 16 inline const char* CRGetCrashLogMessage(void) { return 0; } 17 + 18 + struct crashreporter_annotations_t { 19 + uint64_t version; 20 + uint64_t message; 21 + uint64_t signature_string; 22 + uint64_t backtrace; 23 + uint64_t message2; 24 + uint64_t thread; 25 + uint64_t dialog_mode; 26 + uint64_t abort_cause; 27 + }; 28 + 29 + CRASH_REPORTER_CLIENT_HIDDEN 30 + extern struct crashreporter_annotations_t gCRAnnotations; 11 31 12 32 #ifdef __cplusplus 13 33 }