mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
Hopefully create a branch and not destroy the svn repository.
svn path=/branches/reactos-yarotows/; revision=45219
This commit is contained in:
parent
c88ec84439
commit
6afbc8f483
19442 changed files with 0 additions and 1060695 deletions
35
lib/sdk/crt/except/checkesp.c
Normal file
35
lib/sdk/crt/except/checkesp.c
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*********************************************************************
|
||||
* _chkesp (MSVCRT.@)
|
||||
*
|
||||
* Trap to a debugger if the value of the stack pointer has changed.
|
||||
*
|
||||
* PARAMS
|
||||
* None.
|
||||
*
|
||||
* RETURNS
|
||||
* Does not return.
|
||||
*
|
||||
* NOTES
|
||||
* This function is available for iX86 only.
|
||||
*
|
||||
* When VC++ generates debug code, it stores the value of the stack pointer
|
||||
* before calling any external function, and checks the value following
|
||||
* the call. It then calls this function, which will trap if the values are
|
||||
* not the same. Usually this means that the prototype used to call
|
||||
* the function is incorrect. It can also mean that the .spec entry has
|
||||
* the wrong calling convention or parameters.
|
||||
*/
|
||||
|
||||
#ifdef __i386__
|
||||
|
||||
void _chkesp(void)
|
||||
{
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void _chkesp(void)
|
||||
{
|
||||
}
|
||||
|
||||
#endif /* __i386__ */
|
Loading…
Add table
Add a link
Reference in a new issue