packages feed

bindings-gsl-0.1: src/Bindings/Gsl/Sorting.hsc

#include <bindings.dsl.h>
#include <gsl/gsl_heapsort.h>

-- | <http://www.gnu.org/software/gsl/manual/html_node/Sorting.html>

module Bindings.Gsl.Sorting where
#strict_import

#callback gsl_comparison_fn_t , FunPtr ( Ptr (), Ptr () -> IO CInt)

#ccall gsl_heapsort , Ptr () -> CSize -> CSize -> <gsl_comparison_fn_t> -> IO ()
#ccall gsl_heapsort_index , Ptr CSize -> Ptr () -> CSize -> CSize -> <gsl_comparison_fn_t> -> IO CInt