sourcehook/test/testmulti.cpp
changeset 324 257f0837a885
parent 197 eb4c16742b7d
child 492 3436f2b21002
     1.1 --- a/sourcehook/test/testmulti.cpp	Mon May 07 18:33:34 2007 +0000
     1.2 +++ b/sourcehook/test/testmulti.cpp	Mon May 07 18:35:59 2007 +0000
     1.3 @@ -53,7 +53,7 @@
     1.4  	
     1.5  
     1.6  	for (unsigned int i=0; i<10; i++)
     1.7 -		SH_ADD_HOOK_STATICFUNC(VMultiTest, HookTarget, pv[i], HookFunction, false);
     1.8 +		SH_ADD_HOOK(VMultiTest, HookTarget, pv[i], SH_STATIC(HookFunction), false);
     1.9  
    1.10  	pv[0]->HookTarget();
    1.11  
    1.12 @@ -72,7 +72,7 @@
    1.13  		}
    1.14  	}
    1.15  
    1.16 -	SH_REMOVE_HOOK_STATICFUNC(VMultiTest, HookTarget, pv[0], HookFunction, false);
    1.17 +	SH_REMOVE_HOOK(VMultiTest, HookTarget, pv[0], SH_STATIC(HookFunction), false);
    1.18  
    1.19  	for (unsigned int i=1; i<10; i++)
    1.20  		pv[i]->HookTarget();
    1.21 @@ -96,7 +96,7 @@
    1.22  
    1.23  	for (unsigned int i=1; i<10; i++)
    1.24  	{
    1.25 -		SH_REMOVE_HOOK_STATICFUNC(VMultiTest, HookTarget, pv[1], HookFunction, false);
    1.26 +		SH_REMOVE_HOOK(VMultiTest, HookTarget, pv[1], SH_STATIC(HookFunction), false);
    1.27  		delete pv[i];
    1.28  	}
    1.29