mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Const correct GUID parameter of getInfo and setInfo
This commit is contained in:
parent
495e996169
commit
884547f177
@ -49,11 +49,11 @@ pub const FileProtocol = extern struct {
|
||||
return self._set_position(self, position);
|
||||
}
|
||||
|
||||
pub fn getInfo(self: *const FileProtocol, information_type: *align(8) Guid, buffer_size: *usize, buffer: [*]u8) Status {
|
||||
pub fn getInfo(self: *const FileProtocol, information_type: *align(8) const Guid, buffer_size: *usize, buffer: [*]u8) Status {
|
||||
return self._get_info(self, information_type, buffer_size, buffer);
|
||||
}
|
||||
|
||||
pub fn setInfo(self: *const FileProtocol, information_type: *align(8) Guid, buffer_size: usize, buffer: [*]const u8) Status {
|
||||
pub fn setInfo(self: *const FileProtocol, information_type: *align(8) const Guid, buffer_size: usize, buffer: [*]const u8) Status {
|
||||
return self._set_info(self, information_type, buffer_size, buffer);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user