aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http/http_api.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-22 12:41:44 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-22 12:41:44 -0800
commit113e3606bd1a763850db1afee336bb0d5d434317 (patch)
tree681bb2f8d71c399fbfe4502b8573ce9e3d9a8fe1 /src/supplemental/http/http_api.h
parent8c14ed19b5c72f060f31767e5bc4106054e41192 (diff)
downloadnng-113e3606bd1a763850db1afee336bb0d5d434317.tar.gz
nng-113e3606bd1a763850db1afee336bb0d5d434317.tar.bz2
nng-113e3606bd1a763850db1afee336bb0d5d434317.zip
http: nng_http_handler_set_data is now void return (API break)
Diffstat (limited to 'src/supplemental/http/http_api.h')
-rw-r--r--src/supplemental/http/http_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supplemental/http/http_api.h b/src/supplemental/http/http_api.h
index 47e46b53..5e2d52fa 100644
--- a/src/supplemental/http/http_api.h
+++ b/src/supplemental/http/http_api.h
@@ -338,7 +338,7 @@ extern void nni_http_handler_set_method(nni_http_handler *, const char *);
// which will be available to the callback via nni_http_handler_get_data.
// The callback is an optional destructor, and will be called with the
// data as its argument, when the handler is being destroyed.
-extern int nni_http_handler_set_data(nni_http_handler *, void *, nni_cb);
+extern void nni_http_handler_set_data(nni_http_handler *, void *, nni_cb);
// nni_http_handler_get_data returns the data that was previously stored
// by nni_http_handler_set_data.