Added request at13457 from harbu.

This commit is contained in:
David Anderson
2005-07-08 01:15:54 +00:00
parent 0600e3357c
commit de5eb6924a
4 changed files with 33 additions and 4 deletions

View File

@ -260,3 +260,5 @@ enum {
#define AMX_FLAG_LINEOPS (1<<5) /* line ops are parsed by the JIT [loadtime only flag] */
#define AMX_FLAG_BROWSE (1<<14) /* browsing/relocating or executing */
#define AMX_FLAG_RELOC (1<<15) /* jump/call addresses relocated */
#define INVALID_PLUGIN_ID -1

View File

@ -677,4 +677,7 @@ native require_module(const module[]);
native is_amd64_server();
/* Returns 0 on success, like the POSIX specification */
native mkdir(const dirname[]);
native mkdir(const dirname[]);
/* Returns plugin id searched by file/name. Returns INVALID_PLUGIN_ID on failure. */
native find_plugin_byfile(const filename[], ignoreCase=1);