On Fri Nov 11 20:51:53 2022 +0000, Esme Povirk wrote:
Oh actually, I really don't get it. When would you *ever* want to allocate max_capacity?
This same function body is used in multiple places, just with different function names in each. A few examples are:
- `dlls/d3d10/effect.c`: d3d_array_reserve() - `dlls/wined3d/utils.c`: wined3d_array_reserve() - `dlls/d2d1/d2d1_private.h`: d2d_array_reserve()
I've just reused/renamed it. So I'm _assuming_ there was some reason behind the design decisions, but I myself didn't make them.