You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
350 B
20 lines
350 B
8 years ago
|
@@
|
||
|
expression base, nmemb, compar;
|
||
|
@@
|
||
|
- qsort(base, nmemb, sizeof(*base), compar);
|
||
|
+ QSORT(base, nmemb, compar);
|
||
|
|
||
|
@@
|
||
|
expression base, nmemb, compar;
|
||
|
@@
|
||
|
- qsort(base, nmemb, sizeof(base[0]), compar);
|
||
|
+ QSORT(base, nmemb, compar);
|
||
|
|
||
|
@@
|
||
|
type T;
|
||
|
T *base;
|
||
|
expression nmemb, compar;
|
||
|
@@
|
||
|
- qsort(base, nmemb, sizeof(T), compar);
|
||
|
+ QSORT(base, nmemb, compar);
|