Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
|
Go to the source code of this file.
Macros | |
#define | SWAP(a, b, count, size, tmp) |
#define | COPY(a, b, count, size, tmp1, tmp2) |
#define | CREATE(initval, nmemb, par_i, child_i, par, child, size, count, tmp) |
#define | SELECT(par_i, child_i, nmemb, par, child, size, k, count, tmp1, tmp2) |
Functions | |
int | heapsort_r (void *vbase, size_t nmemb, size_t size, void *thunk, int *compar) |
#define COPY | ( | a, | |
b, | |||
count, | |||
size, | |||
tmp1, | |||
tmp2 | |||
) |
Definition at line 55 of file heapsort_r.c.
#define CREATE | ( | initval, | |
nmemb, | |||
par_i, | |||
child_i, | |||
par, | |||
child, | |||
size, | |||
count, | |||
tmp | |||
) |
Definition at line 73 of file heapsort_r.c.
#define SELECT | ( | par_i, | |
child_i, | |||
nmemb, | |||
par, | |||
child, | |||
size, | |||
k, | |||
count, | |||
tmp1, | |||
tmp2 | |||
) |
Definition at line 107 of file heapsort_r.c.
#define SWAP | ( | a, | |
b, | |||
count, | |||
size, | |||
tmp | |||
) |
Definition at line 43 of file heapsort_r.c.
int heapsort_r | ( | void* | vbase, |
size_t | nmemb, | ||
size_t | size, | ||
void* | thunk, | ||
int * | compar | ||
) |
Definition at line 142 of file heapsort_r.c.
References COPY, CREATE, free(), malloc(), NULL, and SELECT.