updated types and test plugin

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40187
This commit is contained in:
David Anderson 2006-11-12 02:27:27 +00:00
parent 94dc5ca298
commit 442806dd45
2 changed files with 12 additions and 3 deletions

View File

@ -9,7 +9,16 @@ public Plugin:myinfo =
url = "http://www.sourcemod.net/"
}
public OnPluginInit()
public Test(num, &num2)
{
/* just a test, mommy */
num2 += num
return num
}
public Test2(num, &num2)
{
num2 += num
return num
}

View File

@ -16,7 +16,7 @@ typedef uint32_t funcid_t;
#define SP_ERROR_FILE_FORMAT 1 /* File format unrecognized */
#define SP_ERROR_DECOMPRESSOR 2 /* A decompressor was not found */
#define SP_ERROR_HEAPLOW 3 /* Not enough space left on the heap */
#define SP_ERROR_PARAM 4 /* Invalid parameter */
#define SP_ERROR_PARAM 4 /* Invalid parameter or parameter type */
#define SP_ERROR_INVALID_ADDRESS 5 /* A memory address was not valid */
#define SP_ERROR_NOT_FOUND 6 /* The object in question was not found */
#define SP_ERROR_INDEX 7 /* Invalid index parameter */