aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorCody Piersall <cody.piersall@gmail.com>2019-05-10 21:17:48 -0500
committerGarrett D'Amore <garrett@damore.org>2019-05-17 13:54:24 -0700
commitff78f0074248b6920bad1e9ec5fa455cc989545b (patch)
tree1dcb800ba879025f74b0060008af441ce882f302 /src/core
parent9ba5cf6b2d070333c62beb195db75f47431ad557 (diff)
downloadnng-ff78f0074248b6920bad1e9ec5fa455cc989545b.tar.gz
nng-ff78f0074248b6920bad1e9ec5fa455cc989545b.tar.bz2
nng-ff78f0074248b6920bad1e9ec5fa455cc989545b.zip
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.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/options.h1
1 files changed, 1 insertions, 0 deletions
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) \