PandA-2024.02
test.c
Go to the documentation of this file.
1 typedef unsigned int size_t;
2 
3 #include "aggregate.h"
4 
5 void qsort_r(void *base,
6  size_t nel,
7  size_t width,
8  int (*comp)(void *, void *, void*),
9  void *arg);
10 
11 int less (void * a, void * b, void * notUsed);
12 
13 void test(float * const pbase, size_t total_elems)
14 {
15  qsort_r(pbase, (sizeof(float) * total_elems) / sizeof(struct aggregate), sizeof(struct aggregate), less, (void *)0);
16 }
char base
This version is stamped on May 10, 2016.
Definition: nussinov.c:24
void test(float *const pbase, size_t total_elems)
Definition: test.c:14
unsigned int size_t
Definition: test.c:1
void qsort_r(void *base, size_t nel, size_t width, int(*comp)(void *, void *, void *), void *arg)
int less(void *a, void *b, void *notUsed)
Definition: less.c:4

Generated on Mon Feb 12 2024 13:02:47 for PandA-2024.02 by doxygen 1.8.13