From 09ef66d39c277ed709e2333f992b1d87304bf663 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 17 Oct 2017 16:22:38 +0300 Subject: Storing memory cache slot hint inside nxt_sockaddr_t. --- src/nxt_event_engine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nxt_event_engine.h') diff --git a/src/nxt_event_engine.h b/src/nxt_event_engine.h index 329a5a64..7a7149e6 100644 --- a/src/nxt_event_engine.h +++ b/src/nxt_event_engine.h @@ -512,9 +512,9 @@ NXT_EXPORT void nxt_event_engine_post(nxt_event_engine_t *engine, NXT_EXPORT void nxt_event_engine_signal(nxt_event_engine_t *engine, nxt_uint_t signo); -void *nxt_event_engine_mem_alloc(nxt_event_engine_t *engine, uint32_t *slot, +void *nxt_event_engine_mem_alloc(nxt_event_engine_t *engine, uint8_t *slot, size_t size); -void nxt_event_engine_mem_free(nxt_event_engine_t *engine, uint32_t *slot, +void nxt_event_engine_mem_free(nxt_event_engine_t *engine, uint8_t *slot, void *p); -- cgit