Update SourcePawn. (#2454)

This modifies smn_sorting to use the new 2D array access API.
This commit is contained in:
David Anderson
2026-05-03 09:52:31 -07:00
committed by GitHub
parent b1189479ed
commit 6739b0c280
3 changed files with 29 additions and 17 deletions
+2 -2
View File
@@ -138,7 +138,7 @@ void TestBinary()
AssertFmtEq("'%b'", 128, "'10000000'");
AssertFmtEq("'%b'", 1234567, "'100101101011010000111'");
AssertFmtEq("'%b'", 2147483647, "'1111111111111111111111111111111'");
AssertFmtEq("'%b'", 4294967295, "'11111111111111111111111111111111'");
AssertFmtEq("'%b'", 0xFFFFFFFF, "'11111111111111111111111111111111'");
AssertFmtEq("'%b'", -1, "'11111111111111111111111111111111'");
// Precision
@@ -515,7 +515,7 @@ void TestUInt()
AssertFmtEq("'%u'", 128, "'128'");
AssertFmtEq("'%u'", 1234567, "'1234567'");
AssertFmtEq("'%u'", 2147483647, "'2147483647'");
AssertFmtEq("'%u'", 4294967295, "'4294967295'");
AssertFmtEq("'%u'", 0xFFFFFFFF, "'4294967295'");
AssertFmtEq("'%u'", -1, "'4294967295'");
// Precision