diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-09-17 12:08:01 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-17 13:53:29 -0700 |
| commit | 7db28d0133a8b828c8d7a829b587711acf81cddc (patch) | |
| tree | 2f91c6249caa9beda24b8e26fc2e887ad191a660 /json-writer.c | |
| parent | 223190377803939ab4255a72482437c178f8fcff (diff) | |
apply: introduce macro and function to init images
We're about to convert the `struct image` to gain a `struct strbuf`
member, which requires more careful initialization than just memsetting
it to zeros. Introduce the `IMAGE_INIT` macro and `image_init()`
function to prepare for this change.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'json-writer.c')
0 files changed, 0 insertions, 0 deletions
