Skip to content

Commit

Permalink
docs(newtypes): add a pointer to the algorithm API functions (#253)
Browse files Browse the repository at this point in the history
See the discussion in #250.
  • Loading branch information
thomwiggers authored Oct 23, 2023
1 parent fb7d685 commit c86b211
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oqs/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ macro_rules! newtype_buffer {
($name: ident, $name_ref: ident) => {
/// New owned buffer
///
/// Construct the reference version of this type through the algorithm API functions.
///
/// Optional support for `serde` if that feature is enabled.
#[derive(Debug, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
Expand Down

0 comments on commit c86b211

Please sign in to comment.