Convert leading spaces to tabs

This commit is contained in:
Steve Waddicor
2025-08-01 23:06:04 +01:00
parent 44f039a92f
commit 9dfce3da86
@@ -7,44 +7,44 @@ BitmapImageRep :: struct { using _: Object }
@(objc_type=BitmapImageRep, objc_name="alloc", objc_is_class_method=true) @(objc_type=BitmapImageRep, objc_name="alloc", objc_is_class_method=true)
BitmapImageRep_alloc :: proc "c" () -> ^BitmapImageRep { BitmapImageRep_alloc :: proc "c" () -> ^BitmapImageRep {
return msgSend(^BitmapImageRep, BitmapImageRep, "alloc") return msgSend(^BitmapImageRep, BitmapImageRep, "alloc")
} }
@(objc_type=BitmapImageRep, objc_name="initWithBitmapDataPlanes") @(objc_type=BitmapImageRep, objc_name="initWithBitmapDataPlanes")
BitmapImageRep_initWithBitmapDataPlanes :: proc "c" ( BitmapImageRep_initWithBitmapDataPlanes :: proc "c" (
self: ^BitmapImageRep, self: ^BitmapImageRep,
bitmapDataPlanes: ^^u8, bitmapDataPlanes: ^^u8,
pixelsWide: Integer, pixelsWide: Integer,
pixelsHigh: Integer, pixelsHigh: Integer,
bitsPerSample: Integer, bitsPerSample: Integer,
samplesPerPixel: Integer, samplesPerPixel: Integer,
hasAlpha: bool, hasAlpha: bool,
isPlanar: bool, isPlanar: bool,
colorSpaceName: ^String, colorSpaceName: ^String,
bytesPerRow: Integer, bytesPerRow: Integer,
bitsPerPixel: Integer) -> ^BitmapImageRep { bitsPerPixel: Integer) -> ^BitmapImageRep {
return msgSend(^BitmapImageRep, return msgSend(^BitmapImageRep,
self, self,
"initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:", "initWithBitmapDataPlanes:pixelsWide:pixelsHigh:bitsPerSample:samplesPerPixel:hasAlpha:isPlanar:colorSpaceName:bytesPerRow:bitsPerPixel:",
bitmapDataPlanes, bitmapDataPlanes,
pixelsWide, pixelsWide,
pixelsHigh, pixelsHigh,
bitsPerSample, bitsPerSample,
samplesPerPixel, samplesPerPixel,
hasAlpha, hasAlpha,
isPlanar, isPlanar,
colorSpaceName, colorSpaceName,
bytesPerRow, bytesPerRow,
bitsPerPixel) bitsPerPixel)
} }
@(objc_type=BitmapImageRep, objc_name="bitmapData") @(objc_type=BitmapImageRep, objc_name="bitmapData")
BitmapImageRep_bitmapData :: proc "c" (self: ^BitmapImageRep) -> rawptr { BitmapImageRep_bitmapData :: proc "c" (self: ^BitmapImageRep) -> rawptr {
return msgSend(rawptr, self, "bitmapData") return msgSend(rawptr, self, "bitmapData")
} }
@(objc_type=BitmapImageRep, objc_name="CGImage") @(objc_type=BitmapImageRep, objc_name="CGImage")
BitmapImageRep_CGImage :: proc "c" (self: ^BitmapImageRep) -> rawptr { BitmapImageRep_CGImage :: proc "c" (self: ^BitmapImageRep) -> rawptr {
return msgSend(rawptr, self, "CGImage") return msgSend(rawptr, self, "CGImage")
} }