X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Farray.h;h=5205be935bf2fa05ac08f5b262e07ae4a8749572;hb=3dc0bb90d8aec4d0e85c289c37a5fd03f5d46318;hp=fbebd56835f0ba59bf4afc522e17f7240e7e1c50;hpb=691a034d7f2139076fa012739dffd40ef5db4a9b;p=pspp diff --git a/src/libpspp/array.h b/src/libpspp/array.h index fbebd56835..5205be935b 100644 --- a/src/libpspp/array.h +++ b/src/libpspp/array.h @@ -247,5 +247,8 @@ void sort_heap (void *array, size_t count, size_t size, bool is_heap (const void *array, size_t count, size_t size, algo_compare_func *compare, const void *aux); +/* Reverses the order of ARRAY, which contains COUNT elements of SIZE bytes + each. */ +void reverse_array (void *array, size_t count, size_t size); #endif /* algorithm.h */