From 333fff3e66bfb6cc9e9b9d64f2a53527954da934 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Tue, 20 Feb 2018 13:31:27 +0100 Subject: [PATCH] Improve altcp allocator documentation --- src/include/lwip/altcp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/lwip/altcp.h b/src/include/lwip/altcp.h index 75e5649a..686ccd7b 100644 --- a/src/include/lwip/altcp.h +++ b/src/include/lwip/altcp.h @@ -83,8 +83,11 @@ struct altcp_pcb { u8_t pollinterval; }; +/** @ingroup altcp */ typedef struct altcp_allocator_s { + /** Allocator function */ altcp_new_fn alloc; + /** Argument to allocator function */ void *arg; } altcp_allocator_t;