diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-03-22 14:06:07 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-22 14:06:07 -0700 |
| commit | 53d5c2766d90a53d3f6c0437bc59c1ad63ec701a (patch) | |
| tree | bc622efccbfaf9b05eca1c6c7ff8203011660651 /src | |
| parent | 1dc090d39eded06eee7725bd507599d8f59a3379 (diff) | |
| download | nng-53d5c2766d90a53d3f6c0437bc59c1ad63ec701a.tar.gz nng-53d5c2766d90a53d3f6c0437bc59c1ad63ec701a.tar.bz2 nng-53d5c2766d90a53d3f6c0437bc59c1ad63ec701a.zip | |
Add documentation for supplemental functions.
This includes platform portability stuff like mutexes and threads,
etc. While here we fixed a problem with nng_opts_parse and we
addressed the type of the platform API.
Diffstat (limited to 'src')
| -rw-r--r-- | src/supplemental/util/platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplemental/util/platform.h b/src/supplemental/util/platform.h index fd287713..0fcc7d16 100644 --- a/src/supplemental/util/platform.h +++ b/src/supplemental/util/platform.h @@ -34,7 +34,7 @@ typedef uint64_t nng_time; // Return an absolute time from some arbitrary point. The value is // provided in milliseconds, and is of limited resolution based on the // system clock. (Do not use it for fine grained performance measurements.) -NNG_DECL uint64_t nng_clock(void); +NNG_DECL nng_time nng_clock(void); // Sleep for specified msecs. NNG_DECL void nng_msleep(nng_duration); |
