msgSend on x86_64 supports enums

This commit is contained in:
Mitchell Hashimoto 2024-01-16 10:20:56 -08:00
parent 294e0f3765
commit f6ed382b6d
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC

View file

@ -93,6 +93,7 @@ pub fn MsgSend(comptime T: type) type {
// Most types use objc_msgSend
inline .Int,
.Bool,
.Enum,
.Pointer,
.Void,
=> if (super) &c.objc_msgSendSuper else &c.objc_msgSend,