# kdecore Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# kde_dmalloc.h

    00001 /* This file is part of the KDE libraries
    00002
    00003    This library is free software; you can redistribute it and/or
    00004    modify it under the terms of the GNU Library General Public
    00005    License version 2 as published by the Free Software Foundation.
    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 License
    00013    along with this library; see the file COPYING.LIB.  If not, write to
    00014    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00015    Boston, MA 02111-1307, USA.
    00016 */
    00017
    00018 /*
    00019  * These operators are used in conjunction with the dmalloc memory
    00020  * debugging library.
    00021  */
    00022 #if !defined(KDE_DMALLOC_H) && defined(WITH_DMALLOC)
    00023 #define KDE_DMALLOC_H
    00024
    00025 #if !defined( NDEBUG) && defined (__cplusplus)
    00026
    00027 void *operator new (size_t size, const char *file, const int line);
    00028 void *operator new[] (size_t size, const char *file, const int line);
    00029
    00030 #define new new(__FILE__, __LINE__)
    00031
    00032 #endif
    00033
    00034 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 12:46:25 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001