summaryrefslogtreecommitdiff
path: root/include/dom/functypes.h
blob: 85348a2906d91846b0048c1be69444d0632a5263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * 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_functypes_h_
#define dom_functypes_h_

#include <stddef.h>

/**
 * Type of allocation function for DOM implementation
 */
typedef void *(*dom_alloc)(void *ptr, size_t size, void *pw);

#endif