const fix

This commit is contained in:
Glenn Maynard
2004-03-19 08:18:54 +00:00
parent f64db13d4d
commit f4b442cf23
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -290,7 +290,7 @@ typedef struct Frame
void *linkReg;
} *FramePtr;
void GetExceptionBacktraceContext( BacktraceContext *ctx, ExceptionInformation *exception )
void GetExceptionBacktraceContext( BacktraceContext *ctx, const ExceptionInformation *exception )
{
ctx->FramePtr = (void *) exception->registerImage->R1.lo;
}
+1 -1
View File
@@ -42,7 +42,7 @@ void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc );
/* Set up a BacktraceContext to get a backtrace after receiving an exception, given
* an ExceptionInformation*. */
void GetExceptionBacktraceContext( BacktraceContext *ctx, ExceptionInformation *exception );
void GetExceptionBacktraceContext( BacktraceContext *ctx, const ExceptionInformation *exception );
#endif
#define BACKTRACE_METHOD_NOT_AVAILABLE ((void*) -1)