mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-23 01:33:06 +00:00
d1a6350bdd
The current generic vector API is pretty minimal and exposes its internal members as part of the public interface. This has worked well but prevents us from changing the vector implementation. In particular, I'd like to have "small vector" variants that can store some entries directly in the vector structure, use a smaller integer type for the size and capacity, or both. So, let's make the generated vector type "private" and add accessor functions. This is very verbose in some cases, but it'll grant us much more flexibility. While we're changing every user anyways, let's also make use of _cleanup_(vector_deinit) where possible. Signed-off-by: Omar Sandoval <osandov@osandov.com> |
||
---|---|---|
.. | ||
drgnpy.h | ||
error.c | ||
helpers.c | ||
language.c | ||
main.c | ||
object.c | ||
platform.c | ||
program.c | ||
stack_trace.c | ||
symbol.c | ||
test.c | ||
thread.c | ||
type.c | ||
util.c |