diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-22 12:41:44 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-22 12:41:44 -0800 |
| commit | 113e3606bd1a763850db1afee336bb0d5d434317 (patch) | |
| tree | 681bb2f8d71c399fbfe4502b8573ce9e3d9a8fe1 /include | |
| parent | 8c14ed19b5c72f060f31767e5bc4106054e41192 (diff) | |
| download | nng-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 'include')
| -rw-r--r-- | include/nng/supplemental/http/http.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nng/supplemental/http/http.h b/include/nng/supplemental/http/http.h index e94aa0b3..f00c63a9 100644 --- a/include/nng/supplemental/http/http.h +++ b/include/nng/supplemental/http/http.h @@ -392,7 +392,7 @@ NNG_DECL void nng_http_handler_set_tree_exclusive(nng_http_handler *); // a possible clean up routine. (The clean up is a custom de-allocator and // will be called with the supplied data as an argument, when the handler // is being de-allocated.) -NNG_DECL int nng_http_handler_set_data( +NNG_DECL void nng_http_handler_set_data( nng_http_handler *, void *, void (*)(void *)); // nng_http_handler_get_data returns the data that was previously stored. |
