mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/cocoa: rename _cmd
to cmd
This commit is contained in:
parent
963eb2756a
commit
53df5aaaf0
@ -65,8 +65,8 @@ func NSInvocation_invocationWithMethodSignature(sig NSMethodSignature) NSInvocat
|
|||||||
return NSInvocation{objc.ID(class_NSInvocation).Send(sel_invocationWithMethodSignature, sig.ID)}
|
return NSInvocation{objc.ID(class_NSInvocation).Send(sel_invocationWithMethodSignature, sig.ID)}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (inv NSInvocation) SetSelector(_cmd objc.SEL) {
|
func (inv NSInvocation) SetSelector(cmd objc.SEL) {
|
||||||
inv.Send(sel_setSelector, _cmd)
|
inv.Send(sel_setSelector, cmd)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (inv NSInvocation) SetTarget(target objc.ID) {
|
func (inv NSInvocation) SetTarget(target objc.ID) {
|
||||||
@ -89,8 +89,8 @@ type NSMethodSignature struct {
|
|||||||
objc.ID
|
objc.ID
|
||||||
}
|
}
|
||||||
|
|
||||||
func NSMethodSignature_instanceMethodSignatureForSelector(self objc.ID, _cmd objc.SEL) NSMethodSignature {
|
func NSMethodSignature_instanceMethodSignatureForSelector(self objc.ID, cmd objc.SEL) NSMethodSignature {
|
||||||
return NSMethodSignature{self.Send(sel_instanceMethodSignatureForSelector, _cmd)}
|
return NSMethodSignature{self.Send(sel_instanceMethodSignatureForSelector, cmd)}
|
||||||
}
|
}
|
||||||
|
|
||||||
// NSMethodSignature_signatureWithObjCTypes takes a string that represents the type signature of a method.
|
// NSMethodSignature_signatureWithObjCTypes takes a string that represents the type signature of a method.
|
||||||
|
Loading…
Reference in New Issue
Block a user