forked from progrium/darwinkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbarcode_descriptor.gen.go
58 lines (45 loc) · 1.37 KB
/
barcode_descriptor.gen.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// AUTO-GENERATED CODE, DO NOT MODIFY
package coreimage
import (
"unsafe"
"github.com/progrium/macdriver/objc"
)
// The class instance for the [BarcodeDescriptor] class.
var BarcodeDescriptorClass = _BarcodeDescriptorClass{objc.GetClass("CIBarcodeDescriptor")}
type _BarcodeDescriptorClass struct {
objc.Class
}
// An interface definition for the [BarcodeDescriptor] class.
type IBarcodeDescriptor interface {
objc.IObject
}
// An abstract base class that represents a machine readable code's attributes. [Full Topic]
//
// [Full Topic]: https://developer.apple.com/documentation/coreimage/cibarcodedescriptor?language=objc
type BarcodeDescriptor struct {
objc.Object
}
func BarcodeDescriptorFrom(ptr unsafe.Pointer) BarcodeDescriptor {
return BarcodeDescriptor{
Object: objc.ObjectFrom(ptr),
}
}
func (bc _BarcodeDescriptorClass) Alloc() BarcodeDescriptor {
rv := objc.Call[BarcodeDescriptor](bc, objc.Sel("alloc"))
return rv
}
func BarcodeDescriptor_Alloc() BarcodeDescriptor {
return BarcodeDescriptorClass.Alloc()
}
func (bc _BarcodeDescriptorClass) New() BarcodeDescriptor {
rv := objc.Call[BarcodeDescriptor](bc, objc.Sel("new"))
rv.Autorelease()
return rv
}
func NewBarcodeDescriptor() BarcodeDescriptor {
return BarcodeDescriptorClass.New()
}
func (b_ BarcodeDescriptor) Init() BarcodeDescriptor {
rv := objc.Call[BarcodeDescriptor](b_, objc.Sel("init"))
return rv
}