1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00

GH-472 Use NSInteger instead of NSUInteger for enums

- it's more compatible with SInt32 for CFMachPort comm.
This commit is contained in:
Tae Won Ha 2017-06-23 18:58:43 +02:00
parent bd1500178b
commit dc267dc9ef
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -6,7 +6,7 @@
@import Foundation;
typedef NS_ENUM(NSUInteger, NeoVimServerMsgId) {
typedef NS_ENUM(NSInteger, NeoVimServerMsgId) {
NeoVimServerMsgIdServerReady = 0,
NeoVimServerMsgIdNeoVimReady,
NeoVimServerMsgIdResize,
@ -44,7 +44,7 @@ typedef NS_ENUM(NSUInteger, NeoVimServerMsgId) {
#endif
};
typedef NS_ENUM(NSUInteger, NeoVimAgentMsgId) {
typedef NS_ENUM(NSInteger, NeoVimAgentMsgId) {
NeoVimAgentMsgIdAgentReady = 0,
NeoVimAgentMsgIdCommand,
NeoVimAgentMsgIdCommandOutput,