msgSend on x86_64 supports enums
This commit is contained in:
parent
294e0f3765
commit
f6ed382b6d
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ pub fn MsgSend(comptime T: type) type {
|
||||||
// Most types use objc_msgSend
|
// Most types use objc_msgSend
|
||||||
inline .Int,
|
inline .Int,
|
||||||
.Bool,
|
.Bool,
|
||||||
|
.Enum,
|
||||||
.Pointer,
|
.Pointer,
|
||||||
.Void,
|
.Void,
|
||||||
=> if (super) &c.objc_msgSendSuper else &c.objc_msgSend,
|
=> if (super) &c.objc_msgSendSuper else &c.objc_msgSend,
|
||||||
|
|
Loading…
Add table
Reference in a new issue