## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csutil/objpool.h

    00001 /*
    00002     This library is free software; you can redistribute it and/or
    00003     modify it under the terms of the GNU Library General Public
    00004     License as published by the Free Software Foundation; either
    00005     version 2 of the License, or (at your option) any later version.
    00006
    00007     This library is distributed in the hope that it will be useful,
    00008     but WITHOUT ANY WARRANTY; without even the implied warranty of
    00009     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00010     Library General Public License for more details.
    00011
    00012     You should have received a copy of the GNU Library General Public
    00013     License along with this library; if not, write to the Free
    00014     Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00015 */
    00016
    00017 #ifndef __CSUTIL_CS_OBJPOOL_H__
    00018 #define __CSUTIL_CS_OBJPOOL_H__
    00019
    00020 #if defined(CS_COMPILER_GCC)
    00021 #warning csObjectPool is deprecated; use csBlockAllocator instead
    00022 #elif defined(CS_COMPILER_MSVC)
    00023 #pragma message ("csObjectPool is deprecated; use csBlockAllocator instead")
    00024 #endif
    00025
    00026 #define csObjectPool csBlockAllocator
    00027 #include "blockallocator.h"
    00028
    00029 #endif // __CSUTIL_CS_OBJPOOL_H__