mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-07-03 07:27:11 +02:00
Fixed a bug in routines that prevented more than one routine to exist in a bucket.
Also added several helper functions to query information about routines.
This commit is contained in:
@ -526,10 +526,40 @@ public:
|
||||
static Object Create(Object & env, Function & func, Interval interval, Iterate iterations
|
||||
, Object & a1, Object & a2, Object & a3, Object & a4, Object & a5);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Flush queued commands manually.
|
||||
*/
|
||||
static void Flush();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Return the number of queued commands.
|
||||
*/
|
||||
static Uint32 QueueSize();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Return the number of known routines.
|
||||
*/
|
||||
static Uint32 Count();
|
||||
static Uint32 GetCount();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Return the number of known buckets.
|
||||
*/
|
||||
static Uint32 GetBuckets();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Return the number of known routines in bucket.
|
||||
*/
|
||||
static Uint32 GetInBucket(Interval interval);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Return the number of known buckets.
|
||||
*/
|
||||
static Array GetBucketsList();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Return the number of known buckets.
|
||||
*/
|
||||
static Table GetBucketsTable();
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Attempt to find a certain routine by its associated tag.
|
||||
|
Reference in New Issue
Block a user