Factory for dealing with native invocations. More...
#include <public/INativeInvoker.h>
Inherits SourceMod::SMInterface.

Public Member Functions | |
| virtual SourcePawn::IPluginRuntime * | CreateRuntime (const char *name, size_t bytes)=0 |
| Creates a virtual plugin. This can be used as an environment to invoke natives. | |
| virtual INativeInvoker * | CreateInvoker ()=0 |
| Creates an object that can be used to invoke a single native code. | |
Factory for dealing with native invocations.
Definition at line 84 of file INativeInvoker.h.
| virtual SourcePawn::IPluginRuntime* SourceMod::INativeInterface::CreateRuntime | ( | const char * | name, | |
| size_t | bytes | |||
| ) | [pure virtual] |
Creates a virtual plugin. This can be used as an environment to invoke natives.
IPluginRuntime objects must be freed with the delete operator.
| name | Name, or NULL for anonymous. | |
| bytes | Number of bytes for memory (NINVOKE_DEFAULT_MEMORY recommended). |
| virtual INativeInvoker* SourceMod::INativeInterface::CreateInvoker | ( | ) | [pure virtual] |
Creates an object that can be used to invoke a single native code.
1.7.1