| author | Christian Hammacher <bmasterc@gmail.com> |
| Thu Oct 13 23:42:51 2005 +0000 (2005-10-13) | |
| changeset 130 | ba6b4cb2505a |
| 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 }