symmetryinvestments / imap-d

D library for IMAP (JMAP is a work-in-progress but the basics work)
14 stars 10 forks source link

Make session a class #58

Closed otrho closed 3 years ago

otrho commented 3 years ago

This is making Session a final class instead of a struct, which means the SIL wrapping will treat it as a reference type and we'll no longer need to use returnValue to deconstruct the results of most of the API.

This is obviously a non-backward compatible interface breaking change.

See #46 .