aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2025-10-10 21:12:43 -0700
committerGarrett D'Amore <garrett@damore.org>2025-10-10 21:12:43 -0700
commit553ed74c7ae8a1bb79ade90ec8a3fab92a8a34a7 (patch)
tree6fbaad5777a34ef0c8a24cc60b135f6fe515dfb5 /include
parentea65f9503c80c33fb236703a7e81747bcb94666b (diff)
downloadnng-553ed74c7ae8a1bb79ade90ec8a3fab92a8a34a7.tar.gz
nng-553ed74c7ae8a1bb79ade90ec8a3fab92a8a34a7.tar.bz2
nng-553ed74c7ae8a1bb79ade90ec8a3fab92a8a34a7.zip
nng_aio_finish should take nng_err rather than int
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h
index c2c8125c..afb347de 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -692,7 +692,7 @@ NNG_DECL void nng_aio_reset(nng_aio *);
// The argument is the value that nng_aio_result() should return.
// IMPORTANT: Callers must ensure that this is called EXACTLY ONCE on any
// given aio.
-NNG_DECL void nng_aio_finish(nng_aio *, int);
+NNG_DECL void nng_aio_finish(nng_aio *, nng_err);
// nng_aio_start is used to register a cancellation routine, and indicate
// that the operation will be completed asynchronously. It must only be