Deprecation of define Type = ...

This commit is contained in:
Christoffer Lerno
2023-03-20 22:56:06 +01:00
parent 9c145996b0
commit 93fa135d28
11 changed files with 95 additions and 157 deletions

View File

@@ -5,7 +5,7 @@
module std::core::mem::allocator;
import std::collections::map;
define PtrMap = HashMap<uptr, usz>;
typedef PtrMap = HashMap<uptr, usz>;
// A simple tracking allocator.
// It tracks allocations using a hash map but