Changed UnHook -> Unhook for entity output natives.
Changed UnHook -> Unhook for entity output natives.
1.1 --- a/extensions/sdktools/outputnatives.cpp Wed Apr 02 01:46:20 2008 +0000
1.2 +++ b/extensions/sdktools/outputnatives.cpp Wed Apr 02 01:58:45 2008 +0000
1.3 @@ -500,9 +500,9 @@
1.4 sp_nativeinfo_t g_EntOutputNatives[] =
1.5 {
1.6 {"HookEntityOutput", HookEntityOutput},
1.7 - {"UnHookEntityOutput", UnHookEntityOutput},
1.8 + {"UnhookEntityOutput", UnHookEntityOutput},
1.9 {"HookSingleEntityOutput", HookSingleEntityOutput},
1.10 - {"UnHookSingleEntityOutput", UnHookSingleEntityOutput},
1.11 + {"UnhookSingleEntityOutput", UnHookSingleEntityOutput},
1.12 #if 0 //Removed because we don't need them
1.13 {"GetVariantType", GetVariantType},
1.14 {"GetVariantInt", GetVariantInt},
2.1 --- a/plugins/include/sdktools_entoutput.inc Wed Apr 02 01:46:20 2008 +0000
2.2 +++ b/plugins/include/sdktools_entoutput.inc Wed Apr 02 01:58:45 2008 +0000
2.3 @@ -64,7 +64,7 @@
2.4 * @return True on success, false if no valid hook was found.
2.5 * @error Entity Outputs disabled.
2.6 */
2.7 -native bool:UnHookEntityOutput(const String:classname[], const String:output[], EntityOutput:callback);
2.8 +native bool:UnhookEntityOutput(const String:classname[], const String:output[], EntityOutput:callback);
2.9
2.10 /**
2.11 * Add an entity output hook on a single entity instance
2.12 @@ -87,5 +87,5 @@
2.13 * @return True on success, false if no valid hook was found.
2.14 * @error Entity Outputs disabled or Invalid Entity index.
2.15 */
2.16 -native bool:UnHookSingleEntityOutput(entity, const String:output[], EntityOutput:callback);
2.17 +native bool:UnhookSingleEntityOutput(entity, const String:output[], EntityOutput:callback);
2.18
3.1 --- a/plugins/testsuite/outputtest.sp Wed Apr 02 01:46:20 2008 +0000
3.2 +++ b/plugins/testsuite/outputtest.sp Wed Apr 02 01:58:45 2008 +0000
3.3 @@ -54,6 +54,6 @@
3.4 AcceptEntityInput(ent, "LightOn", ent, ent);
3.5
3.6 //Comment these out (and reload the plugin heaps) to test for leaks on plugin unload
3.7 - UnHookSingleEntityOutput(ent, "OnLightOn", OutputHook);
3.8 - UnHookSingleEntityOutput(ent, "OnLightOff", OutputHook);
3.9 + UnhookSingleEntityOutput(ent, "OnLightOn", OutputHook);
3.10 + UnhookSingleEntityOutput(ent, "OnLightOff", OutputHook);
3.11 }
3.12 \ No newline at end of file