qsort.h

来自「Lido PXA270平台开发板的最新BSP,包括源代码」· C头文件 代码 · 共 40 行

H
40
字号
/* -*- c-file-style: "img" -*-
<module>
 * Name         : qsort.h
 * Title        : Quick Sort
 * Author       : Marcus Shawcroft
 * Created      : 4 Nov 2003
 *
 * Copyright    : 2003 by Imagination Technologies Limited.
 *                All rights reserved.  No part of this software, either
 *                material or conceptual may be copied or distributed,
 *                transmitted, transcribed, stored in a retrieval system
 *                or translated into any human or computer language in any
 *                form by any means, electronic, mechanical, manual or
 *                other-wise, or disclosed to third parties without the
 *                express written permission of Imagination Technologies
 *                Limited, Unit 8, HomePark Industrial Estate,
 *                King's Langley, Hertfordshire, WD4 8LZ, U.K.
 *
 * Description  : Naive implementation of libc qsort API.
 * 
 * Platform     : ALL
 *
</module>
 */

#ifndef _qsort_h_
#define _qsort_h_

void
PVR_qsort (void *x, int n, int size, int (*compare) (void *a, void *b));

void
PVR_qsort_s (void *x,
	     int n,
	     int size,
	     int (*compare) (void *a, void *b, void *state),
	     void *state);

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?