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

Commit 484a48b7 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "NNAPI: Add OptionalTimeoutDuration to 1.3/types.t" am: 456d54c9

Change-Id: Id2fe1f83492a418ef32950d46c7a2b20baf2c952
parents cc4acf19 456d54c9
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -552,6 +552,19 @@ safe_union OptionalTimePoint {
    uint64_t nanoseconds;
};

/**
 * Optional timeout duration measured in nanoseconds.
 */
safe_union OptionalTimeoutDuration {
    /** No time point provided. */
    Monostate none;

    /**
     * Timeout duration measured in nanoseconds.
     */
    uint64_t nanoseconds;
};

/**
 * Return status of a function.
 */