diff options
Diffstat (limited to 'include/dom/ctx.h')
-rw-r--r-- | include/dom/ctx.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/dom/ctx.h b/include/dom/ctx.h deleted file mode 100644 index f69ec65..0000000 --- a/include/dom/ctx.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * This file is part of libdom. - * Licensed under the MIT License, - * http://www.opensource.org/licenses/mit-license.php - * Copyright 2007 John-Mark Bell <jmb@netsurf-browser.org> - */ - -#ifndef dom_ctx_h_ -#define dom_ctx_h_ - -#include <stddef.h> - -/** - * Type of allocation function for DOM implementation - */ -typedef void *(*dom_alloc)(void *ptr, size_t size, void *pw); - -/** - * DOM allocation context - */ -struct dom_ctx { - dom_alloc alloc; /**< Memory (de)allocation function */ - void *pw; /**< Pointer to client data */ -}; - -#endif |