qsort() should be passedonly extern C functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
15dc68b6b8
commit
c15b8bfd6f
@ -2497,7 +2497,11 @@ void wxArrayString::Sort(CompareFunction compareFunction)
|
||||
END_SORT();
|
||||
}
|
||||
|
||||
typedef int (wxC_CALLING_CONV * wxStringCompareFn)(const void *first, const void *second);
|
||||
extern "C"
|
||||
{
|
||||
typedef int (wxC_CALLING_CONV * wxStringCompareFn)(const void *first,
|
||||
const void *second);
|
||||
}
|
||||
|
||||
void wxArrayString::Sort(CompareFunction2 compareFunction)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user