mirror of
https://github.com/keymanapp/keyman.git
synced 2026-09-24 08:37:42 +00:00
fix(windows): update sentry to latest master
Sentry 0.2.2 had a bug with initialization that stopped the random number generator from working.
This commit is contained in:
parent
e194076d40
commit
e1d3a25f3b
7 changed files with 19 additions and 1 deletions
Binary file not shown.
Binary file not shown.
|
|
@ -320,6 +320,7 @@ typedef struct sentry_ucontext_s {
|
|||
#ifdef _WIN32
|
||||
EXCEPTION_POINTERS exception_ptrs;
|
||||
#else
|
||||
int signum;
|
||||
siginfo_t *siginfo;
|
||||
ucontext_t *user_context;
|
||||
#endif
|
||||
|
|
@ -663,6 +664,13 @@ SENTRY_API sentry_user_consent_t sentry_user_consent_get(void);
|
|||
*/
|
||||
SENTRY_API sentry_uuid_t sentry_capture_event(sentry_value_t event);
|
||||
|
||||
/*
|
||||
* Captures an exception to be handled by the backend.
|
||||
*
|
||||
* This is safe to be called from a crashing thread and may not return.
|
||||
*/
|
||||
SENTRY_EXPERIMENTAL_API void sentry_handle_exception(sentry_ucontext_t *uctx);
|
||||
|
||||
/*
|
||||
* Adds the breadcrumb to be sent in case of an event.
|
||||
*/
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
|||
{$D-} // Don't include debug information
|
||||
// Delphi translation of sentry.h
|
||||
// Sentry Native API 0.2.2
|
||||
// Sentry Native API 0.2.2 @ eb73904a8700fcf67e632a8c7d71174d214a344c
|
||||
// https://github.com/getsentry/sentry-native
|
||||
unit sentry;
|
||||
|
||||
|
|
@ -383,6 +383,7 @@ type
|
|||
{$IF DEFINED(MSWINDOWS)}
|
||||
exception_ptrs: EXCEPTION_POINTERS;
|
||||
{$ELSE}
|
||||
signum: Integer;
|
||||
siginfo: siginfo_t;
|
||||
user_context: ucontext_t;
|
||||
{$ENDIF}
|
||||
|
|
@ -847,6 +848,15 @@ function sentry_capture_event(
|
|||
event: sentry_value_t
|
||||
): sentry_uuid_t; cdecl; external sentry_dll delayed;
|
||||
|
||||
//
|
||||
// Captures an exception to be handled by the backend.
|
||||
//
|
||||
// This is safe to be called from a crashing thread and may not return.
|
||||
//
|
||||
procedure sentry_handle_exception(
|
||||
uctx: psentry_ucontext_t
|
||||
); cdecl; external sentry_dll delayed;
|
||||
|
||||
//
|
||||
// Adds the breadcrumb to be sent in case of an event.
|
||||
//
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue