Quick commit of ShareSys API change
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40317
This commit is contained in:
parent
4ac5297d11
commit
232e027137
@ -78,9 +78,9 @@ namespace SourceMod
|
|||||||
* @brief Adds a list of natives to the global native pool.
|
* @brief Adds a list of natives to the global native pool.
|
||||||
*
|
*
|
||||||
* @param token Identity token of parent object.
|
* @param token Identity token of parent object.
|
||||||
* @param natives Array of natives to add, NULL terminated.
|
* @param natives Array of natives to add. The last entry must have NULL members.
|
||||||
*/
|
*/
|
||||||
virtual void AddNatives(IdentityToken_t *token, const sp_nativeinfo_t *natives[]) =0;
|
virtual void AddNatives(IExtension *myself, const sp_nativeinfo_t *natives) =0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Creates a new identity type.
|
* @brief Creates a new identity type.
|
||||||
|
@ -159,7 +159,7 @@ bool ShareSystem::RequestInterface(const char *iface_name,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShareSystem::AddNatives(IdentityToken_t *token, const sp_nativeinfo_t *natives[])
|
void ShareSystem::AddNatives(IExtension *myself, const sp_nativeinfo_t *natives)
|
||||||
{
|
{
|
||||||
/* :TODO: implement */
|
/* :TODO: implement */
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ public: //IShareSys
|
|||||||
unsigned int iface_vers,
|
unsigned int iface_vers,
|
||||||
IExtension *mysql,
|
IExtension *mysql,
|
||||||
SMInterface **pIface);
|
SMInterface **pIface);
|
||||||
void AddNatives(IdentityToken_t *token, const sp_nativeinfo_t *natives[]);
|
void AddNatives(IExtension *myself, const sp_nativeinfo_t *natives);
|
||||||
IdentityType_t CreateIdentType(const char *name);
|
IdentityType_t CreateIdentType(const char *name);
|
||||||
IdentityType_t FindIdentType(const char *name);
|
IdentityType_t FindIdentType(const char *name);
|
||||||
IdentityToken_t *CreateIdentity(IdentityType_t type);
|
IdentityToken_t *CreateIdentity(IdentityType_t type);
|
||||||
|
Loading…
Reference in New Issue
Block a user