33#ifndef LIBBACKTRACE_TESTLIB_H
34#define LIBBACKTRACE_TESTLIB_H
40# define GCC_VERSION (__GNUC__ * 1000 + __GNUC_MINOR__)
43#if (GCC_VERSION < 2007)
44# define __attribute__(x)
47#ifndef ATTRIBUTE_UNUSED
48# define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
97extern const char *
base (
const char *p);
98extern void check (
const char *
name,
int index,
const struct info *all,
99 int want_lineno,
const char *want_function,
100 const char *want_file,
int *failed);
101extern int callback_one (
void *, uintptr_t,
const char *,
int,
const char *);
void error_callback_two(void *, const char *, int)
int callback_one(void *, uintptr_t, const char *, int, const char *)
void error_callback_one(void *, const char *, int)
void check(const char *name, int index, const struct info *all, int want_lineno, const char *want_function, const char *want_file, int *failed)
void error_callback_three(void *, const char *, int)
int callback_two(void *, uintptr_t)
void callback_three(void *, uintptr_t, const char *, uintptr_t, uintptr_t)
const char * base(const char *p)
void error_callback_create(void *, const char *, int)