Publishing libunit's malloc() and free() wrappers for apps.

This commit is contained in:
Max Romanov
2020-10-01 23:55:10 +03:00
parent c2eb245b32
commit bbc6d2470a
2 changed files with 57 additions and 49 deletions

View File

@@ -322,6 +322,10 @@ int nxt_unit_websocket_retain(nxt_unit_websocket_frame_t *ws);
void nxt_unit_websocket_done(nxt_unit_websocket_frame_t *ws);
void *nxt_unit_malloc(nxt_unit_ctx_t *ctx, size_t size);
void nxt_unit_free(nxt_unit_ctx_t *ctx, void *p);
#if defined __has_attribute
#if __has_attribute(format)