Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Move header reference out of extern C #3538

Merged
merged 18 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## Unreleased

### Fixes

- Move header reference out of "extern C" (#3538)

## 8.19.0

### Features
Expand Down Expand Up @@ -30,7 +36,6 @@
- Fix a race condition in SentryTracer (#3523)
- App start ends when first frame is drawn when performanceV2 is enabled (#3530)
- Use correct rendered frames timestamp for TTID/TTFD and app start (#3531)

- Missing transactions when not calling `reportFullyDisplayed` (#3477)

## 8.17.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
#ifndef HDR_SentryCrashMachineContext_h
#define HDR_SentryCrashMachineContext_h

#ifdef __cplusplus
extern "C" {
#endif

#include "SentryCrashThread.h"
#include <mach/mach.h>
#include <stdbool.h>

#ifdef __cplusplus
extern "C" {
#endif

/** Suspend the runtime environment.
*/
void sentrycrashmc_suspendEnvironment(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,14 @@
#ifndef SentryCrashStackCursor_h
#define SentryCrashStackCursor_h

#ifdef __cplusplus
extern "C" {
#endif

#include "SentryCrashMachineContext.h"

#include <stdbool.h>
#include <sys/types.h>

#ifdef __cplusplus
extern "C" {
#endif

#define SentryCrashSC_CONTEXT_SIZE 100

/** Point at which to give up walking a stack and consider it a stack overflow.
Expand Down
6 changes: 3 additions & 3 deletions Sources/SentryCrash/Recording/Tools/SentryCrashThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
#ifndef HDR_SentryCrashThread_h
#define HDR_SentryCrashThread_h

#include <stdbool.h>
#include <sys/types.h>

#ifdef __cplusplus
extern "C" {
#endif

#include <stdbool.h>
#include <sys/types.h>

typedef uintptr_t SentryCrashThread;

/** Get a thread's name. Internally, a thread name will
Expand Down