diff --git a/configs/fred/plugins.c b/configs/fred/plugins.c index 2f8e221..0616fba 100644 --- a/configs/fred/plugins.c +++ b/configs/fred/plugins.c @@ -349,6 +349,7 @@ void arena_temp_end(Temp t) { #define push_array_no_zero_aligned(a, T, c, align) (T *)arena_push((a), sizeof(T)*(c), (align), (0)) #define push_array_aligned(a, T, c, align) (T *)arena_push((a), sizeof(T)*(c), (align), (1)) #define push_array_no_zero(a, T, c) push_array_no_zero_aligned(a, T, c, FRED_Max(8, FRED_AlignOf(T))) + #define push_array(a, T, c) push_array_aligned(a, T, c, FRED_Max(8, FRED_AlignOf(T))) // Scratch arena creation. You pass in a 'conflict' arena when you don't want one scratch arena to overwrite another when nested functions are involved. diff --git a/flake.lock b/flake.lock index 0c64199..9e08dc1 100644 --- a/flake.lock +++ b/flake.lock @@ -42,11 +42,11 @@ "quickshell": "quickshell" }, "locked": { - "lastModified": 1778306063, - "narHash": "sha256-+Y7R7ez8GjQ5oxNeh9Raa2b8t+AQ2jOnWZRTA/h58LE=", + "lastModified": 1778638030, + "narHash": "sha256-h/Jl+0iFoafVDWfkNJJSccObYYWMdfEjMM+v4U2N2nE=", "owner": "AvengeMedia", "repo": "DankMaterialShell", - "rev": "cf641b4e0845210dbf05fcfe13c4564897d73cbf", + "rev": "8f958658dc19b6b31db92d41ff01e903a0e4f1c5", "type": "github" }, "original": {