Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb29d456 authored by Orlando Arbildo's avatar Orlando Arbildo Committed by Gerrit Code Review
Browse files

Merge "Add rust copy derivation annotation" into main

parents d128fd66 f84f70a7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.security.see.hwcrypto.types;
@RustDerive(Clone=true, Copy=true)
parcelable MemoryBufferReference {
  int startOffset;
  int sizeBytes;
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package android.hardware.security.see.hwcrypto.types;
/*
 * Structure representing a section of a memory buffer.
 */
@RustDerive(Copy=true, Clone=true)
parcelable MemoryBufferReference {
    /*
     * Start of the memory buffer section measured from the start of the memory buffer set for this