mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
re-introduce old nss im too tired for this
This commit is contained in:
parent
3c46be320d
commit
3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions
|
|
@ -1,5 +1,4 @@
|
|||
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
||||
/* This code is made available to you under your choice of the following sets
|
||||
* of licensing terms:
|
||||
*/
|
||||
|
|
@ -111,9 +110,6 @@ Time Now();
|
|||
// Note the epoch is the unix epoch (ie 00:00:00 UTC, 1 January 1970)
|
||||
Time TimeFromEpochInSeconds(uint64_t secondsSinceEpoch);
|
||||
|
||||
// Note the epoch is the unix epoch (ie 00:00:00 UTC, 1 January 1970)
|
||||
Result SecondsSinceEpochFromTime(Time time, uint64_t* outSeconds);
|
||||
|
||||
class Duration final {
|
||||
public:
|
||||
Duration(Time timeA, Time timeB)
|
||||
|
|
@ -132,11 +128,9 @@ class Duration final {
|
|||
}
|
||||
|
||||
private:
|
||||
friend Result SecondsSinceEpochFromTime(Time time, uint64_t* outSeconds);
|
||||
|
||||
uint64_t durationInSeconds;
|
||||
};
|
||||
} // namespace pkix
|
||||
} // namespace mozilla
|
||||
}
|
||||
} // namespace mozilla::pkix
|
||||
|
||||
#endif // mozilla_pkix_Time_h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue