1.1 --- a/sourcepawn/jit/sp_vm_function.cpp Tue Oct 06 01:52:08 2009 -0500
1.2 +++ b/sourcepawn/jit/sp_vm_function.cpp Tue Oct 06 13:37:30 2009 -0500
1.3 @@ -1,8 +1,8 @@
1.4 /**
1.5 - * vim: set ts=4 :
1.6 + * vim: set ts=4 sw=4 tw=99 noet :
1.7 * =============================================================================
1.8 * SourcePawn
1.9 - * Copyright (C) 2004-2008 AlliedModders LLC. All rights reserved.
1.10 + * Copyright (C) 2004-2009 AlliedModders LLC. All rights reserved.
1.11 * =============================================================================
1.12 *
1.13 * This program is free software; you can redistribute it and/or modify it under
1.14 @@ -25,8 +25,6 @@
1.15 * this exception to all derivative works. AlliedModders LLC defines further
1.16 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
1.17 * or <http://www.sourcemod.net/license.php>.
1.18 - *
1.19 - * Version: $Id$
1.20 */
1.21
1.22 #include <stdio.h>
1.23 @@ -332,6 +330,11 @@
1.24 return err;
1.25 }
1.26
1.27 +IPluginRuntime *CFunction::GetParentRuntime()
1.28 +{
1.29 + return m_pRuntime;
1.30 +}
1.31 +
1.32 funcid_t CFunction::GetFunctionID()
1.33 {
1.34 return m_FnId;