mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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)}
|
||||
}
|
||||
|
||||
func (inv NSInvocation) SetSelector(_cmd objc.SEL) {
|
||||
inv.Send(sel_setSelector, _cmd)
|
||||
func (inv NSInvocation) SetSelector(cmd objc.SEL) {
|
||||
inv.Send(sel_setSelector, cmd)
|
||||
}
|
||||
|
||||
func (inv NSInvocation) SetTarget(target objc.ID) {
|
||||
@ -89,8 +89,8 @@ type NSMethodSignature struct {
|
||||
objc.ID
|
||||
}
|
||||
|
||||
func NSMethodSignature_instanceMethodSignatureForSelector(self objc.ID, _cmd objc.SEL) NSMethodSignature {
|
||||
return NSMethodSignature{self.Send(sel_instanceMethodSignatureForSelector, _cmd)}
|
||||
func NSMethodSignature_instanceMethodSignatureForSelector(self objc.ID, cmd objc.SEL) NSMethodSignature {
|
||||
return NSMethodSignature{self.Send(sel_instanceMethodSignatureForSelector, cmd)}
|
||||
}
|
||||
|
||||
// NSMethodSignature_signatureWithObjCTypes takes a string that represents the type signature of a method.
|
||||
|
Loading…
Reference in New Issue
Block a user