mirror of
https://github.com/signalapp/libsignal.git
synced 2026-05-05 06:32:35 +02:00
swift: Update to the current version of cbindgen
...which handles enum variants slightly differently under the
configuration options we have ('remove_underscores', relevant for
generic types rather than enum variants). The new style is closer to
Apple-idiomatic anyway.
This commit is contained in:
@@ -17,16 +17,16 @@ public class CiphertextMessage: NativeHandleOwner {
|
||||
}
|
||||
|
||||
public static var whisper: Self {
|
||||
return Self(SignalCiphertextMessageType_Whisper)
|
||||
return Self(SignalCiphertextMessageTypeWhisper)
|
||||
}
|
||||
public static var preKey: Self {
|
||||
return Self(SignalCiphertextMessageType_PreKey)
|
||||
return Self(SignalCiphertextMessageTypePreKey)
|
||||
}
|
||||
public static var senderKey: Self {
|
||||
return Self(SignalCiphertextMessageType_SenderKey)
|
||||
return Self(SignalCiphertextMessageTypeSenderKey)
|
||||
}
|
||||
public static var plaintext: Self {
|
||||
return Self(SignalCiphertextMessageType_Plaintext)
|
||||
return Self(SignalCiphertextMessageTypePlaintext)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user