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

Commit 124659e4 authored by Lev Proleev's avatar Lev Proleev Committed by Slava Shklyaev
Browse files

NNAPI: Add OptionalTimeoutDuration to 1.3/types.t

To sync 1.3/types.t with 1.3/types.hal

Test: generate_api.sh
Change-Id: I6a6e46ec82b4f25d77f7e1af18cc9d6f9478e5b7
Merged-In: I6a6e46ec82b4f25d77f7e1af18cc9d6f9478e5b7
(cherry picked from commit a9c097ab)
parent 0db1b54e
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.
 */