wxwidgets.cfg: Fixed wrong configuration of wxRegEx::GetMatch().
This commit is contained in:
parent
596f75e2af
commit
b170a9c61e
|
@ -13679,8 +13679,8 @@ wxItemKind kind = wxITEM_NORMAL) -->
|
||||||
<const/>
|
<const/>
|
||||||
<use-retval/>
|
<use-retval/>
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1" direction="in"/>
|
<arg nr="1" direction="out"/>
|
||||||
<arg nr="2" default="0" direction="in">
|
<arg nr="2" default="0" direction="out">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
<not-bool/>
|
<not-bool/>
|
||||||
</arg>
|
</arg>
|
||||||
|
|
|
@ -22,12 +22,27 @@
|
||||||
#include <wx/memory.h>
|
#include <wx/memory.h>
|
||||||
#include <wx/frame.h>
|
#include <wx/frame.h>
|
||||||
#include <wx/menu.h>
|
#include <wx/menu.h>
|
||||||
|
#include <wx/regex.h>
|
||||||
#include <wx/stattext.h>
|
#include <wx/stattext.h>
|
||||||
#include <wx/sizer.h>
|
#include <wx/sizer.h>
|
||||||
#include <wx/string.h>
|
#include <wx/string.h>
|
||||||
#include <wx/textctrl.h>
|
#include <wx/textctrl.h>
|
||||||
#include <wx/propgrid/property.h>
|
#include <wx/propgrid/property.h>
|
||||||
|
|
||||||
|
void uninitvar_wxRegEx_GetMatch(wxRegEx &obj, size_t *start, size_t *len, size_t index)
|
||||||
|
{
|
||||||
|
size_t s,l;
|
||||||
|
size_t *sPtr,*lPtr;
|
||||||
|
// cppcheck-suppress uninitvar
|
||||||
|
(void)obj.GetMatch(&s,lPtr);
|
||||||
|
// TODO cppcheck-suppress uninitvar
|
||||||
|
(void)obj.GetMatch(sPtr,&l);
|
||||||
|
(void)obj.GetMatch(&s,&l);
|
||||||
|
(void)obj.GetMatch(start,len);
|
||||||
|
(void)obj.GetMatch(start,len,0);
|
||||||
|
(void)obj.GetMatch(start,len,index);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef __VISUALC__
|
#ifdef __VISUALC__
|
||||||
// Ensure no duplicateBreak warning is issued after wxLogApiError() calls.
|
// Ensure no duplicateBreak warning is issued after wxLogApiError() calls.
|
||||||
// This function does not terminate execution.
|
// This function does not terminate execution.
|
||||||
|
|
Loading…
Reference in New Issue