sentry-contrib-native-sys 0.3.1

Unofficial FFI bindings to the Sentry Native SDK for Rust.
1
2
3
4
5
6
7
8
9
10
11
12
// Compat header for missing `basename`

#pragma once

#include <string.h>

static const char *
_unwinder_basename(const char *s)
{
    const char *c = strrchr(s, '/');
    return c ? c + 1 : s;
}