// // Copyright (C) 2000-2002 Andrey Slepuhin // // libp++ is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // libp++ is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with libp++; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // $Source$ // $Revision$ // $Date$ // Author: Andrey Slepuhin #ifndef __pxx_chunk_allocator_block_header_ih__ #define __pxx_chunk_allocator_block_header_ih__ #include "pxx_chunk_allocator_block_header.hh" #include "pxx_common.ih" namespace pxx { inline CABlockHeader::CABlockHeader ( CABlockHeader* _prev, CABlockHeader* _next ) : ref_count (0), prev (_prev), next (_next), left (null), right (null) {} inline void CABlockHeader::remove () { prev->next = next; next->prev = prev; } } #endif // __pxx_chunk_allocator_block_header_ih__