From 53d5c2766d90a53d3f6c0437bc59c1ad63ec701a Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 22 Mar 2018 14:06:07 -0700 Subject: 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. --- src/supplemental/util/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3-70-g09d2