From dd4974b2afa7fd797ea334acecb7991c593854c1 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 15 Aug 2007 22:05:00 +0000 Subject: [PATCH] Oops - broke the build by not committing this --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401347 --- public/sourcepawn/sp_vm_api.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/public/sourcepawn/sp_vm_api.h b/public/sourcepawn/sp_vm_api.h index 20c8e8d8..6ae819a3 100644 --- a/public/sourcepawn/sp_vm_api.h +++ b/public/sourcepawn/sp_vm_api.h @@ -44,7 +44,7 @@ #define SOURCEPAWN_ENGINE_API_VERSION 1 /** SourcePawn VM API Version */ -#define SOURCEPAWN_VM_API_VERSION 3 +#define SOURCEPAWN_VM_API_VERSION 4 #if !defined SOURCEMOD_BUILD #define SOURCEMOD_BUILD @@ -212,6 +212,15 @@ namespace SourcePawn * @return True if runnable, false otherwise. */ virtual bool IsRunnable() =0; + + /** + * @brief Returns the function ID of this function. + * + * Note: This was added in API version 4. + * + * @return Function id. + */ + virtual funcid_t GetFunctionID() =0; };