mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 04:20:28 +00:00
Merge pull request #5583 from slowhei/master
Fix Typo in `Device_newBufferWithSliceNoCopy`
This commit is contained in:
2
vendor/darwin/Metal/MetalClasses.odin
vendored
2
vendor/darwin/Metal/MetalClasses.odin
vendored
@@ -5581,7 +5581,7 @@ Device_newBufferWithSlice :: #force_inline proc "c" (self: ^Device, slice: $S/[]
|
||||
}
|
||||
@(objc_type=Device, objc_name="newBufferWithSliceNoCopy")
|
||||
Device_newBufferWithSliceNoCopy :: #force_inline proc "c" (self: ^Device, slice: $S/[]$E, options: ResourceOptions, deallocator: rawptr) -> ^Buffer {
|
||||
return Device_newBufferWithBytesNotCopy(self, mem.slice_to_bytes(slice), options, deallocator)
|
||||
return Device_newBufferWithBytesNoCopy(self, mem.slice_to_bytes(slice), options, deallocator)
|
||||
}
|
||||
@(objc_type=Device, objc_name="newBufferWithLength")
|
||||
Device_newBufferWithLength :: #force_inline proc "c" (self: ^Device, length: NS.UInteger, options: ResourceOptions) -> ^Buffer {
|
||||
|
||||
Reference in New Issue
Block a user