1/*--------------------------------------------------------------------------- 2| Copyright (C) 1999-2000 Jochen C. Loewer (loewerj@hotmail.com) 3+---------------------------------------------------------------------------- 4| 5| $Id: domalloc.h,v 1.6 2004/08/14 14:42:27 rolf Exp $ 6| 7| 8| A special memory allocator, which uses pre-allocated / bit masked 9| based administration of memory block with fixed sizes, like 10| DOM nodes. This will hopefully save some memory. 11| 12| 13| The contents of this file are subject to the Mozilla Public License 14| Version 1.1 (the "License"); you may not use this file except in 15| compliance with the License. You may obtain a copy of the License at 16| http://www.mozilla.org/MPL/ 17| 18| Software distributed under the License is distributed on an "AS IS" 19| basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the 20| License for the specific language governing rights and limitations 21| under the License. 22| 23| The Original Code is tDOM. 24| 25| The Initial Developer of the Original Code is Jochen Loewer 26| Portions created by Jochen Loewer are Copyright (C) 1998, 1999 27| Jochen Loewer. All Rights Reserved. 28| 29| Contributor(s): 30| 31| 32| written by Jochen Loewer 33| October, 2000 34| 35\--------------------------------------------------------------------------*/ 36 37void domAllocInit(); 38void * domAlloc(int size); 39void domFree(void *mem); 40 41