forked from rustls/rustls-ffi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce ArcCastPtr; add try macros for BoxCastPtr (rustls#157)
Building on @djc's excellent addition of BoxCastPtr in rustls#88, this introduces ArcCastPtr, which fills the same role for Arcs. Also, this introduces null checking for both BoxCastPtr and ArcCastPtr, and adds try macros for both of them.
- Loading branch information
Showing
4 changed files
with
171 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.