From ff78f0074248b6920bad1e9ec5fa455cc989545b Mon Sep 17 00:00:00 2001 From: Cody Piersall Date: Fri, 10 May 2019 21:17:48 -0500 Subject: Add uint64 to generated legacy nng_setopt_* functions. The functions nng_dialer_setopt_uint64 and nng_dialer_setopt_uint64 are declared in nng.h but not defined, causing errors at runtime of programs that expect them to be defined. --- src/core/options.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/options.h') diff --git a/src/core/options.h b/src/core/options.h index 6df05805..41d10365 100644 --- a/src/core/options.h +++ b/src/core/options.h @@ -255,6 +255,7 @@ extern int nni_chkopt( NNI_LEGACY_DEFTYPEDSET(base, int, int) \ NNI_LEGACY_DEFTYPEDSET(base, bool, bool) \ NNI_LEGACY_DEFTYPEDSET(base, size, size_t) \ + NNI_LEGACY_DEFTYPEDSET(base, uint64, uint64_t) \ NNI_LEGACY_DEFTYPEDSET(base, ms, nng_duration) \ NNI_LEGACY_DEFTYPEDSET(base, ptr, void*) \ NNI_LEGACY_DEFSTRINGSET(base) \ -- cgit v1.2.3-70-g09d2