sourcemod/extensions
Kit o' Rifty 34e9605519
Add IntMap methodmap (#2018)
* Add new IntHashMap and IntMap natives

This is a continuation of #579.

[HashMap] Adds new IntHashMap and IntMap natives.

This patch makes the following changes
  * Refactors StringHashMap to a generic HashMap template
  * Adds the IntHashMap class
  * Adds new IntMap natives
  * Adds IntMap tests to the tries test suite

[HashMap] Reverted rename of CharsAndLength

[HashMap] Use more descriptive template names

[HashMap] Removed old-style natives

[HashMap] Removed IntHash class

[HashMap] Reverted some search & replace errors

Co-authored-by: Geoffrey McRae <geoff@hostfission.com>

* Fix spelling mistake + include

* Fix tries test

* Update tests with clone + ContainsKey

---------

Co-authored-by: Geoffrey McRae <geoff@hostfission.com>
Co-authored-by: Nicholas Hastings <nshastings@gmail.com>
2024-10-31 23:35:41 +00:00
..
bintools Fix passing variant_t parameters + fix codegen stack on Win64 (#2117) 2024-05-05 21:17:59 +00:00
clientprefs Update SourcePawn. 2023-11-02 18:38:30 -10:00
cstrike Reconcile the concept of Edict & Networkable across the codebase (#1903) 2024-06-01 14:07:55 +00:00
curl Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00
dhooks Add IntMap methodmap (#2018) 2024-10-31 23:35:41 +00:00
geoip Log a notice if the geoip database gets too old (#1791) 2022-06-30 08:22:51 +02:00
mysql database: flip to recursive_mutex to allow nested locks (#1937) 2023-03-29 20:03:03 -07:00
pgsql database: flip to recursive_mutex to allow nested locks (#1937) 2023-03-29 20:03:03 -07:00
regex Fix mismatched memory release in regex clearmatch (#2005) 2023-06-12 22:34:57 +02:00
sdkhooks Reconcile the concept of Edict & Networkable across the codebase (#1903) 2024-06-01 14:07:55 +00:00
sdktools Add IntMap methodmap (#2018) 2024-10-31 23:35:41 +00:00
sqlite database: flip to recursive_mutex to allow nested locks (#1937) 2023-03-29 20:03:03 -07:00
structs Deduplicate a number of files used by extensions by moving them to the public directory (bug 5341, r=psychonic). 2014-04-23 21:19:28 -05:00
tf2 Reconcile the concept of Edict & Networkable across the codebase (#1903) 2024-06-01 14:07:55 +00:00
topmenus Allow topmenu config file to sort with subcategories (#1757) 2024-02-18 11:46:48 +01:00
updater Update to AMBuild 2.2. 2020-08-18 23:09:43 -07:00