]> git.saurik.com Git - wxWidgets.git/commit
Don't make wxQsort() extern "C" nor use any special convention for it.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 27 Oct 2011 21:10:48 +0000 (21:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 27 Oct 2011 21:10:48 +0000 (21:10 +0000)
commit449cc351536a62a07e73500702bf1d685473b277
tree353eb2bccf905de97d94ed75e1994f6f88c27fc8
parent1da8e6e40088a93a64a6b95323e911474d77fac5
Don't make wxQsort() extern "C" nor use any special convention for it.

It doesn't make sense to require passing C functions to wxQsort() that we
define in a C++ library. We also don't need any special calling convention
here.

Notice that the only existing uses of wxQsort() inside wxWidgets itself were
not actually extern "C" and one of them didn't even use the correct calling
convention.

Also avoid using non-wx-prefixed CMPFUNCDATA identifier in a public header,
rename it to wxSortCallback instead.

Finally make wxQsort() documentation slightly more useful.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/utils.h
include/wx/vector.h
interface/wx/utils.h
src/common/utilscmn.cpp