summaryrefslogtreecommitdiff
path: root/include/dom/functypes.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2007-07-06 21:42:18 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2007-07-06 21:42:18 +0000
commit7a9d61b0def3e8cff5b25892fdca5c8cdda4b628 (patch)
tree38200fb0d97551967a2d9063daaf28927c043902 /include/dom/functypes.h
parent7f29141f5069d02843468785a54543a2f6d9260a (diff)
downloadlibdom-7a9d61b0def3e8cff5b25892fdca5c8cdda4b628.tar.gz
libdom-7a9d61b0def3e8cff5b25892fdca5c8cdda4b628.tar.bz2
Purge all trace of the ballache that was dom_ctx.
Document the functions in document.c svn path=/trunk/dom/; revision=3385
Diffstat (limited to 'include/dom/functypes.h')
-rw-r--r--include/dom/functypes.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dom/functypes.h b/include/dom/functypes.h
new file mode 100644
index 0000000..85348a2
--- /dev/null
+++ b/include/dom/functypes.h
@@ -0,0 +1,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