declare wxQsort in vector.h as well as utils.h to work around circular header dependency mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
baf60823a6
commit
8c1c11d689
@ -36,6 +36,15 @@ inline void wxVectorSort(wxVector<T>& v)
|
|||||||
#include <new> // for placement new
|
#include <new> // for placement new
|
||||||
#include "wx/afterstd.h"
|
#include "wx/afterstd.h"
|
||||||
|
|
||||||
|
// wxQsort is declared in wx/utils.h, but can't include that file here,
|
||||||
|
// it indirectly includes this file. Just lovely...
|
||||||
|
typedef int (*wxSortCallback)(const void* pItem1,
|
||||||
|
const void* pItem2,
|
||||||
|
const void* user_data);
|
||||||
|
WXDLLIMPEXP_BASE void wxQsort(void* pbase, size_t total_elems,
|
||||||
|
size_t size, wxSortCallback cmp,
|
||||||
|
const void* user_data);
|
||||||
|
|
||||||
namespace wxPrivate
|
namespace wxPrivate
|
||||||
{
|
{
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user