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

Commit 456d54c9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents b0607b90 124659e4
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.
 */