From 1af34465936126650e68bc290df575cd64d222b2 Mon Sep 17 00:00:00 2001 From: Zach Kanzler Date: Fri, 31 Dec 2010 20:00:23 -0500 Subject: [PATCH] Fixed namespace-related compile issue in INativeInvoker.h (bug 4750, r=fyren). --- public/INativeInvoker.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/INativeInvoker.h b/public/INativeInvoker.h index 1c7025b5..91429308 100644 --- a/public/INativeInvoker.h +++ b/public/INativeInvoker.h @@ -38,6 +38,7 @@ */ #include +#include #define SMINTERFACE_NINVOKE_NAME "INativeInterface" #define SMINTERFACE_NINVOKE_VERSION 1 @@ -65,7 +66,7 @@ namespace SourceMod * @param name Name of native. * @return True if native was found, false otherwise. */ - virtual bool Start(IPluginContext *pContext, const char *name) = 0; + virtual bool Start(SourcePawn::IPluginContext *pContext, const char *name) = 0; /** * @brief Invokes the native. The preparation state is cleared immediately, meaning that @@ -92,7 +93,7 @@ namespace SourceMod * @param bytes Number of bytes for memory (NINVOKE_DEFAULT_MEMORY recommended). * @return New runtime, or NULL on failure. */ - virtual IPluginRuntime *CreateRuntime(const char *name, size_t bytes) = 0; + virtual SourcePawn::IPluginRuntime *CreateRuntime(const char *name, size_t bytes) = 0; /** * @brief Creates an object that can be used to invoke a single native code.