greatly optimized the process of mapping plugin natives from Core
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401388
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
#define SOURCEPAWN_ENGINE_API_VERSION 1
|
||||
|
||||
/** SourcePawn VM API Version */
|
||||
#define SOURCEPAWN_VM_API_VERSION 4
|
||||
#define SOURCEPAWN_VM_API_VERSION 5
|
||||
|
||||
#if !defined SOURCEMOD_BUILD
|
||||
#define SOURCEMOD_BUILD
|
||||
@@ -591,6 +591,14 @@ namespace SourcePawn
|
||||
*/
|
||||
virtual int LocalToStringNULL(cell_t local_addr, char **addr) =0;
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Binds a single native to a given native index.
|
||||
*
|
||||
* @param index Index to bind at.
|
||||
* @param native Native function to bind.
|
||||
*/
|
||||
virtual int BindNativeToIndex(uint32_t index, SPVM_NATIVE_FUNC native) =0;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user