Commit 9cb6873
committed
refactor: Prepare for ParseHex -> ""_hex scripted-diff
- Adds using namespace.
- Extracts ToScript helper function from ScriptFromHex, to be used heavily in the next commit.
- Changes ScriptFromHex from using ParseHex to TryParseHex, now asserting the string is valid.
- Use even number of hex digits in comment (and apply replacement from next commit to only touch line once).1 parent 50bc017 commit 9cb6873
File tree
3 files changed
+12
-3
lines changed- src
- bench
- test
3 files changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1356 | 1356 | | |
1357 | 1357 | | |
1358 | 1358 | | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
1359 | 1366 | | |
1360 | 1367 | | |
1361 | | - | |
1362 | | - | |
| 1368 | + | |
1363 | 1369 | | |
1364 | 1370 | | |
1365 | 1371 | | |
| |||
1393 | 1399 | | |
1394 | 1400 | | |
1395 | 1401 | | |
1396 | | - | |
| 1402 | + | |
1397 | 1403 | | |
1398 | 1404 | | |
1399 | 1405 | | |
| |||
0 commit comments