Merge pull request #155 from Zormeister/crashreporter-cxx

Build checks passed against main branch merging Fix C++ code linking to libCrashReporterClient PR.
This commit is contained in:
InSaneDarwin
2024-10-24 06:48:01 -04:00
committed by GitHub

View File

@@ -29,6 +29,10 @@
#ifndef __CrashReporterClient__
#define __CrashReporterClient__
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#define CRASHREPORTER_ANNOTATIONS_SECTION "__crash_info"
@@ -56,4 +60,8 @@ struct crashreporter_annotations_t {
CRASH_REPORTER_CLIENT_HIDDEN
extern struct crashreporter_annotations_t gCRAnnotations;
#ifdef __cplusplus
};
#endif
#endif /* __CrashReporterClient__ */