forked from mirror/vulkan-zig
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:
@@ -111,6 +111,7 @@ pub const Command = struct {
|
||||
name: []const u8,
|
||||
param_type: TypeInfo,
|
||||
is_buffer_len: bool,
|
||||
is_optional: bool,
|
||||
};
|
||||
|
||||
params: []Param,
|
||||
|
||||
Reference in New Issue
Block a user