Sorry, forgot this file
[reactos.git] / reactos / lib / sdk / crt / except / checkesp.c
1 /*********************************************************************
2 * _chkesp (MSVCRT.@)
3 *
4 * Trap to a debugger if the value of the stack pointer has changed.
5 *
6 * PARAMS
7 * None.
8 *
9 * RETURNS
10 * Does not return.
11 *
12 * NOTES
13 * This function is available for iX86 only.
14 *
15 * When VC++ generates debug code, it stores the value of the stack pointer
16 * before calling any external function, and checks the value following
17 * the call. It then calls this function, which will trap if the values are
18 * not the same. Usually this means that the prototype used to call
19 * the function is incorrect. It can also mean that the .spec entry has
20 * the wrong calling convention or parameters.
21 */
22
23 #ifdef __i386__
24
25 void _chkesp(void)
26 {
27 }
28
29 #else
30
31 void _chkesp(void)
32 {
33 }
34
35 #endif /* __i386__ */