Commit 33f7174
committed
budget: rename Init to snake_case + add PascalCase macro wrappers
Convention says FooInit is a macro at the public surface. Budget had
real functions, BudgetAllocatorInit and BudgetAllocatorInitAligned.
Both return BudgetAllocator by value, so the existing return-by-value
ergonomics callers depend on (BudgetAllocator bp = BudgetAllocatorInit
(...);) carry over unchanged: the macros are thin pass-through
wrappers over the renamed budget_allocator_init / _aligned helpers.
All test callers continue to use the PascalCase name and need no
updates.1 parent 6288c6f commit 33f7174
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
122 | 125 | | |
123 | 126 | | |
124 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
| 279 | + | |
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| |||
0 commit comments