pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/algorithm.h


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/algorithm.h
Date: Tue, 15 Mar 2005 01:04:12 -0500

Index: pspp/src/algorithm.h
diff -u pspp/src/algorithm.h:1.6 pspp/src/algorithm.h:1.7
--- pspp/src/algorithm.h:1.6    Thu Mar  4 03:57:16 2004
+++ pspp/src/algorithm.h        Tue Mar 15 06:04:10 2005
@@ -95,6 +95,18 @@
                 void *result,
                 algo_predicate_func *predicate, void *aux);
 
+/* Removes N elements starting at IDX from ARRAY, which consists
+   of COUNT elements of SIZE bytes each, by shifting the elements
+   following them, if any, into its position. */
+void remove_range (void *array, size_t count, size_t size,
+                   size_t idx, size_t n);
+
+/* Removes element IDX from ARRAY, which consists of COUNT
+   elements of SIZE bytes each, by shifting the elements
+   following it, if any, into its position. */
+void remove_element (void *array, size_t count, size_t size,
+                     size_t idx);
+
 /* Removes elements equal to ELEMENT from ARRAY, which consists
    of COUNT elements of SIZE bytes each.  Returns the number of
    remaining elements.  AUX is passed to COMPARE as auxiliary




reply via email to

[Prev in Thread] Current Thread [Next in Thread]