From e4ff973dbf3f9571cca3f8548493e3a6ce6d9e2a Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 11 Nov 2006 11:10:45 +0000 Subject: [PATCH] synced type changes --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40183 --- sourcepawn/include/sp_vm_types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sourcepawn/include/sp_vm_types.h b/sourcepawn/include/sp_vm_types.h index 91117b13..02b90540 100644 --- a/sourcepawn/include/sp_vm_types.h +++ b/sourcepawn/include/sp_vm_types.h @@ -7,6 +7,8 @@ typedef uint32_t ucell_t; typedef int32_t cell_t; typedef uint32_t funcid_t; +#define SP_MAX_EXEC_PARAMS 32 /* Maximum number of parameters in a function */ + /** * Error codes */ @@ -32,6 +34,7 @@ typedef uint32_t funcid_t; #define SP_ERROR_ARRAY_TOO_BIG 19 /* A dynamic array is too big */ #define SP_ERROR_TRACKER_BOUNDS 20 /* Tracker stack is out of bounds */ #define SP_ERROR_INVALID_NATIVE 21 /* Native was pending or invalid */ +#define SP_ERROR_PARAMS_MAX 22 /* Maximum number of parameters reached */ /********************************************** *** The following structures are reference structures.