Main Page   Reference Manual   Namespace List   Compound List   Namespace Members   Compound Members   File Members  

enum_memblk_types.h File Reference

#include <libcwd/config.h>
#include <iosfwd>

Include dependency graph for enum_memblk_types.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  libcwd

Enumerations

enum  memblk_types_nt {
  memblk_type_new, memblk_type_deleted, memblk_type_new_array, memblk_type_deleted_array,
  memblk_type_malloc, memblk_type_realloc, memblk_type_freed, memblk_type_marker,
  memblk_type_deleted_marker, memblk_type_external
}
 A flag indicating the type of allocation. More...


Detailed Description

Do not include this header file directly, instead include "\ref preparation_step2 "debug.h"".

Enumeration Type Documentation

enum memblk_types_nt
 

A flag indicating the type of allocation.

This is returned by alloc_ct::memblk_type. The flags memblk_type_marker and memblk_type_deleted_marker only exist when libcwd was configured with --enable-marker (CWDEBUG_MARKER).

See also:
alloc_ct
Enumeration values:
memblk_type_new  Allocated with operator new.
memblk_type_deleted  Deleted with operator delete.
memblk_type_new_array  Allocated with operator new [].
memblk_type_deleted_array  Deleted with operator delete [].
memblk_type_malloc  Allocated with calloc() or malloc().
memblk_type_realloc  Reallocated with realloc().
memblk_type_freed  Freed with free().
memblk_type_marker  A memory allocation marker.
memblk_type_deleted_marker  A deleted memory allocation marker.
memblk_type_external  Externally allocated with malloc() (no magic numbers!).

Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.