Skip to content

Commit

Permalink
Add uint64 to generated legacy nng_setopt_* functions.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
codypiersall authored and gdamore committed May 17, 2019
1 parent 9ba5cf6 commit ff78f00
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit ff78f00

Please sign in to comment.