| author | Pavol Marko <pavolmarko@gmail.com> |
| Fri Oct 14 20:57:43 2005 +0000 (2005-10-14) | |
| changeset 134 | a9e04855f582 |
| parent 111 | aec58c99dafc |
| child 162 | a95db73792e5 |
| permissions | -rw-r--r-- |
1 // TESTBAIL
2 // Different compilation unit
4 #include "testbail.h"
6 void ___TestBail2()
7 {
8 SourceHook::CSourceHookImpl g_SHImpl;
9 g_SHPtr = &g_SHImpl;
10 g_PLID = 2;
12 g_Gabgab = (IGaben*)___testbail_gabgab;
14 g_Gabgab->EatYams();
16 SH_ADD_HOOK_STATICFUNC(IGaben, EatYams, g_Gabgab, EatYams0_Handler, false);
18 g_Gabgab->EatYams();
20 SH_REMOVE_HOOK_STATICFUNC(IGaben, EatYams, g_Gabgab, EatYams0_Handler, false);
22 g_Gabgab->EatYams();
23 }