Skip to content

Commit ee098ac

Browse files
Copilotigaw
andauthored
docs(generator): clarify array_size comment scope
Agent-Logs-Url: https://github.com/igaw/nvme-cli/sessions/ee08f366-cda9-42a6-9df4-84bc0b3d3013 Co-authored-by: igaw <1050803+igaw@users.noreply.github.com>
1 parent 16157ce commit ee098ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libnvme/tools/generator/generate-accessors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def __init__(self, name, type_str, gen_getter, gen_setter,
213213
self.gen_setter = gen_setter # True → emit setter
214214
self.is_char_array = is_char_array
215215
self.is_char_ptr_array = is_char_ptr_array
216-
self.array_size = array_size # only valid when is_char_array is True
216+
self.array_size = array_size # only for fixed-size char arrays (char[N])
217217

218218

219219
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)