From 1b16d798f4d03b0ce4d5dfc13d29d0e3fc92ce05 Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Sat, 16 May 2009 13:20:15 +0000 Subject: resolve some warnings git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1735 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Lua/src/lua/UHookableEvent.pas | 2 +- Lua/src/lua/ULuaCore.pas | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Lua') diff --git a/Lua/src/lua/UHookableEvent.pas b/Lua/src/lua/UHookableEvent.pas index de5a8a83..b7f2fc47 100644 --- a/Lua/src/lua/UHookableEvent.pas +++ b/Lua/src/lua/UHookableEvent.pas @@ -74,7 +74,7 @@ type function CallHookChain(Breakable: Boolean): PLua_State; //< calls the events hookchain. if breakable, plugin can breake the chain by returning a value != 0 or false or nil - destructor Destroy; + destructor Destroy; override; end; { the default function for THookableEvent.PrepareStack it don't pass any arguments } diff --git a/Lua/src/lua/ULuaCore.pas b/Lua/src/lua/ULuaCore.pas index 6ea5ecc6..5ecc07af 100644 --- a/Lua/src/lua/ULuaCore.pas +++ b/Lua/src/lua/ULuaCore.pas @@ -108,7 +108,7 @@ type procedure Unload; //< Destroys the Luastate, and frees as much mem as possible, w/o destroying the class and important information - destructor Destroy; + destructor Destroy; override; end; { class managing the plugins w/ their LuaStates, the events and modules @@ -128,7 +128,7 @@ type function GetModuleIdByName(Name: String): Integer; //returns id of given module, or -1 if module is not found public constructor Create; - destructor Destroy; + destructor Destroy; override; procedure LoadPlugins; //< calls LoadPlugin w/ Plugindir and LoadingFinished Eventchain -- cgit v1.2.3