← Back to team overview

kicad-developers team mailing list archive

Re: Where comes from sort function?

 

On Tue, 27 Apr 2010, Alain Portal wrote:

Le Mardi 27 Avril 2010 08:28:40, Lorenzo Marcantonio a écrit :
On Mon, 26 Apr 2010, Alain Portal wrote:
Hi,

Can somebody tell me where comes from the sort fonction used at line 314
in pcbnew/dialog_design_rules.cpp?

From ANSI C :D:D IIRC it's declared in stdlib.h

No it isn't
There is only a "qsort" function in stdlib.h (glibc-2.11.1)

Whooops you're right :D:D

Maybe it's the C++ sort templated automagically? I don't remember
exactly how it works...

--
Lorenzo Marcantonio
Logos Srl

Follow ups

References