34 #if !defined(AV_OFFSET) || !defined(FP_INDIR) 35 # ifdef HAVE_SCANSTACK 36 # undef HAVE_SCANSTACK 44 #define STDERR_FILENO 2 46 #define eprints(a) (void)write(STDERR_FILENO, (a), sizeof (a)-1) 47 #define eprintl(a) (void)write(STDERR_FILENO, (a), strlen(a)) 49 #define is_even(p) ((((long)(p)) & 1) == 0) 50 #define even(p) (((long)(p)) & ~1L) 52 #define even(p) (((long)(p)) - 1) 59 #include <schily/stkframe.h> 60 #define next_frame(vp) do { \ 61 if (((struct frame *)(vp))->fr_savfp == 0) { \ 65 if (((struct frame *)(vp))->fr_savpc == 0) { \ 70 (void *)((struct frame *)(vp))->fr_savfp; \ 71 } while (vp != NULL && is_even(vp)); \ 72 vp = (struct frame *)even(vp); 74 #if defined(IS_MACOS_X) 84 #define next_frame(vp) vp = (((SIGBLK *)(vp))->sb_savfp); 104 register void *vp =
NULL;
106 #ifdef HAVE_SCANSTACK 124 #ifdef HAVE_SCANSTACK 125 vp = (
struct frame *)((
SIGBLK *)vp)->sb_savfp;
147 const char *handlename;
151 for (;
sp;
sp =
sp->sb_signext) {
152 if (
sp->sb_signame !=
NULL &&
153 streql(
sp->sb_signame, handlename)) {
154 if (
sp->sb_sigfun ==
NULL) {
157 return (*
sp->sb_sigfun)(signame,
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
LOCAL void raiseabort(char *signame) const
EXPORT int streql(char *a, const char *b) const
EXPORT void raisecond(char *signame, long arg2) const
GLuint GLuint GLuint GLuint GLuint GLuint GLuint arg2
LOCAL void raiseabort __PR((const char *))
LOCAL BOOL framehandle(SIGBLK *sp, const char *handlename, const char *signame, long arg2)
EXPORT SIGBLK * __roothandle