Nullable pointer parameters

For procedure parameters which are of pointer type: if the associated
`count` parameter is marked `optional` in the XML, this commit makes the
parameter pointer type nullable.
This commit is contained in:
Peter Lef
2023-07-10 10:59:11 -04:00
parent 086276bd05
commit c7d3723710
3 changed files with 15 additions and 1 deletions

View File

@@ -111,6 +111,7 @@ pub const Command = struct {
name: []const u8,
param_type: TypeInfo,
is_buffer_len: bool,
is_optional: bool,
};
params: []Param,