this repo has no description
1#ifndef CRASHREPORTERCLIENT_H_
2#define CRASHREPORTERCLIENT_H_
3
4#include <stdint.h>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#define CRASHREPORTER_ANNOTATIONS_SECTION "__crash_info"
11#define CRASHREPORTER_ANNOTATIONS_VERSION 5
12#define CRASH_REPORTER_CLIENT_HIDDEN __attribute__((visibility("hidden")))
13
14inline void CRSetCrashLogMessage(const char* text) {}
15inline void CRSetCrashLogMessage2(const char* path) {}
16inline const char* CRGetCrashLogMessage(void) { return 0; }
17
18struct 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
29CRASH_REPORTER_CLIENT_HIDDEN
30extern struct crashreporter_annotations_t gCRAnnotations;
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif