~bkerensa/ubuntu/raring/valgrind/merge-from-deb

« back to all changes in this revision

Viewing changes to include/pub_tool_xarray.h

  • Committer: Benjamin Kerensa
  • Date: 2012-11-21 23:57:58 UTC
  • mfrom: (1.1.16)
  • Revision ID: bkerensa@ubuntu.com-20121121235758-bd1rv5uc5vzov2p6
Merge from debian unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
   This file is part of Valgrind, a dynamic binary instrumentation
8
8
   framework.
9
9
 
10
 
   Copyright (C) 2007-2011 OpenWorks LLP
 
10
   Copyright (C) 2007-2012 OpenWorks LLP
11
11
      info@open-works.co.uk
12
12
 
13
13
   This program is free software; you can redistribute it and/or
117
117
   is the number of elements remaining in the XArray. */
118
118
extern void VG_(dropHeadXA) ( XArray*, Word );
119
119
 
 
120
/* Remove the specified element of an XArray, and slide all elements
 
121
   beyond it back one place.  This is an O(N) operation, where N is
 
122
   the number of elements after the specified element, in the
 
123
   array. */
 
124
extern void VG_(removeIndexXA)( XArray*, Word );
 
125
 
120
126
/* Make a new, completely independent copy of the given XArray, using
121
127
   the existing allocation function to allocate the new space.
122
128
   Returns NULL if the allocation function didn't manage to allocate