X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/033bf67c3cd465dce10b7bfb5c24f62ab83e5a13..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/utils.h?ds=sidebyside diff --git a/include/wx/utils.h b/include/wx/utils.h index 77bfe8550c..e68243b82d 100644 --- a/include/wx/utils.h +++ b/include/wx/utils.h @@ -531,6 +531,18 @@ WXDLLIMPEXP_BASE bool wxGetDiskSpace(const wxString& path, wxDiskspaceSize_t *pTotal = NULL, wxDiskspaceSize_t *pFree = NULL); + + +extern "C" +{ +typedef int (wxCMPFUNC_CONV *CMPFUNCDATA)(const void* pItem1, const void* pItem2, const void* user_data); +} + + +WXDLLIMPEXP_BASE void wxQsort(void *const pbase, size_t total_elems, + size_t size, CMPFUNCDATA cmp, const void* user_data); + + #if wxUSE_GUI // GUI only things from now on // ----------------------------------------------------------------------------