/[ascend]/trunk/base/generic/utilities/ascMalloc.h
ViewVC logotype

Diff of /trunk/base/generic/utilities/ascMalloc.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 99 by johnpye, Wed Nov 30 16:31:29 2005 UTC revision 100 by jds, Fri Dec 9 23:25:15 2005 UTC
# Line 35  Line 35 
35   *  These functions provide tracking of memory events and assist   *  These functions provide tracking of memory events and assist
36   *  finding and debugging memory errors.  Memory tracking options are   *  finding and debugging memory errors.  Memory tracking options are
37   *  selected using the macros MALLOC_DEBUG and ALLOCATED_TESTS discussed   *  selected using the macros MALLOC_DEBUG and ALLOCATED_TESTS discussed
38   *  below.  This allows the enhanced functionality to be used or turned   *  below.  This allows the enhanced functionality to be used or turned
39   *  off as desired.  This functionality adds considerable run-time overhead,   *  off as desired.  This functionality adds considerable run-time overhead,
40   *  and so should generally be used for debugging purposes only.  There are   *  and so should generally be used for debugging purposes only.  There are
41   *  also routines for reporting on the status of memory blocks as well as   *  also routines for reporting on the status of memory blocks as well as
# Line 119  extern char *asc_memcpy(char *dest, char Line 119  extern char *asc_memcpy(char *dest, char
119   *  Copies n bytes from memory address src to dest.   *  Copies n bytes from memory address src to dest.
120   *  This version of memcpy handles overlapping memory ranges   *  This version of memcpy handles overlapping memory ranges
121   *  properly. It could be more efficient internally. As it is,   *  properly. It could be more efficient internally. As it is,
122   *  it moves data a char at a time.  Neither dest nor src may   *  it moves data a char at a time.  Unless n is 0, neither dest
123   *  be NULL (checked by assertion).   *  nor src may be NULL (checked by asc_assertion).
124   *   *
125   *  @param dest Pointer to address to which to copy (non-NULL).   *  @param dest Pointer to address to which to copy (non-NULL).
126   *  @param src  Pointer to address from which to copy (non-NULL).   *  @param src  Pointer to address from which to copy (non-NULL).

Legend:
Removed from v.99  
changed lines
  Added in v.100

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22