mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 04:39:45 +00:00
Change all CRLF-text files to LF-text files
to match H'uru for patching
This commit is contained in:
@ -1,26 +1,26 @@
|
||||
#ifndef _PRINTSTACKTRACE_H
|
||||
#define _PRINTSTACKTRACE_H
|
||||
|
||||
|
||||
/**
|
||||
* Prints formatted call stack to the user defined buffer,
|
||||
* always terminating the buffer with 0.
|
||||
* Uses stack frame to find out the caller function address and
|
||||
* the map file to find out the function name.
|
||||
*/
|
||||
void printStackTrace( char* buffer, int bufferSize, unsigned long stackPtr = 0, unsigned long opPtr = 0 );
|
||||
|
||||
|
||||
#endif // _PRINTSTACKTRACE_H
|
||||
/*
|
||||
* Copyright (c) 2001 Jani Kajala
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this
|
||||
* software and its documentation for any purpose is hereby
|
||||
* granted without fee, provided that the above copyright notice
|
||||
* appear in all copies and that both that copyright notice and
|
||||
* this permission notice appear in supporting documentation.
|
||||
* Jani Kajala makes no representations about the suitability
|
||||
* of this software for any purpose. It is provided "as is"
|
||||
* without express or implied warranty.
|
||||
*/
|
||||
#ifndef _PRINTSTACKTRACE_H
|
||||
#define _PRINTSTACKTRACE_H
|
||||
|
||||
|
||||
/**
|
||||
* Prints formatted call stack to the user defined buffer,
|
||||
* always terminating the buffer with 0.
|
||||
* Uses stack frame to find out the caller function address and
|
||||
* the map file to find out the function name.
|
||||
*/
|
||||
void printStackTrace( char* buffer, int bufferSize, unsigned long stackPtr = 0, unsigned long opPtr = 0 );
|
||||
|
||||
|
||||
#endif // _PRINTSTACKTRACE_H
|
||||
/*
|
||||
* Copyright (c) 2001 Jani Kajala
|
||||
*
|
||||
* Permission to use, copy, modify, distribute and sell this
|
||||
* software and its documentation for any purpose is hereby
|
||||
* granted without fee, provided that the above copyright notice
|
||||
* appear in all copies and that both that copyright notice and
|
||||
* this permission notice appear in supporting documentation.
|
||||
* Jani Kajala makes no representations about the suitability
|
||||
* of this software for any purpose. It is provided "as is"
|
||||
* without express or implied warranty.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user