sourcehook/test/testreentr.cpp
changeset 162 a95db73792e5
parent 151 1667580b0c91
child 294 0d87bc8606f8
     1.1 --- a/sourcehook/test/testreentr.cpp	Thu Dec 22 21:00:54 2005 +0000
     1.2 +++ b/sourcehook/test/testreentr.cpp	Fri Dec 23 11:58:11 2005 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  // = calling hooks from hook handlers, etc
     1.5  
     1.6  #include <string>
     1.7 -#include "sourcehook_impl.h"
     1.8 +#include "sourcehook_test.h"
     1.9  #include "testevents.h"
    1.10  
    1.11  namespace
    1.12 @@ -294,8 +294,7 @@
    1.13  
    1.14  bool TestReentr(std::string &error)
    1.15  {
    1.16 -	SourceHook::CSourceHookImpl g_SHImpl;
    1.17 -	g_SHPtr = &g_SHImpl;
    1.18 +	GET_SHPTR(g_SHPtr);
    1.19  	g_PLID = 1337;
    1.20  
    1.21  	g_pC1 = &g_C1;