/[pspp]/pspp/src/algorithm.h
ViewVC logotype

Diff of /pspp/src/algorithm.h

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

revision 1.6 by blp, Thu Mar 4 03:57:16 2004 UTC revision 1.7 by blp, Tue Mar 15 06:04:10 2005 UTC
# Line 95  size_t copy_if (const void *array, size_ Line 95  size_t copy_if (const void *array, size_
95                  void *result,                  void *result,
96                  algo_predicate_func *predicate, void *aux);                  algo_predicate_func *predicate, void *aux);
97    
98    /* Removes N elements starting at IDX from ARRAY, which consists
99       of COUNT elements of SIZE bytes each, by shifting the elements
100       following them, if any, into its position. */
101    void remove_range (void *array, size_t count, size_t size,
102                       size_t idx, size_t n);
103    
104    /* Removes element IDX from ARRAY, which consists of COUNT
105       elements of SIZE bytes each, by shifting the elements
106       following it, if any, into its position. */
107    void remove_element (void *array, size_t count, size_t size,
108                         size_t idx);
109    
110  /* Removes elements equal to ELEMENT from ARRAY, which consists  /* Removes elements equal to ELEMENT from ARRAY, which consists
111     of COUNT elements of SIZE bytes each.  Returns the number of     of COUNT elements of SIZE bytes each.  Returns the number of
112     remaining elements.  AUX is passed to COMPARE as auxiliary     remaining elements.  AUX is passed to COMPARE as auxiliary

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26