/*
* Inkscape::Debug::SysVHeap - malloc() statistics via System V interface
*
* Authors:
* MenTaLguY <mental@rydia.net>
*
* Copyright (C) 2005 MenTaLguY
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifdef HAVE_MALLOC_H
# include <malloc.h>
#endif
#include "debug/sysv-heap.h"
namespace Inkscape {
namespace Debug {
#ifdef HAVE_MALLINFO
return SIZE_AVAILABLE | USED_AVAILABLE;
#else
return 0;
#endif
}
#ifdef HAVE_MALLINFO
#ifdef HAVE_STRUCT_MALLINFO_USMBLKS
#endif
#ifdef HAVE_STRUCT_MALLINFO_FSMBLKS
#endif
#endif
#endif
#ifdef HAVE_STRUCT_MALLINFO_HBLKHD
#endif
#endif
return stats;
}
}
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :