Move wxCTZ() documentation to the appropriate place

The documentation comment belongs to interface/wx/math.h, not the header
under include.

Also change the argument type to wxUint32 as the non-gcc version only
works for 32 bit values.
This commit is contained in:
Vadim Zeitlin
2018-11-05 19:19:18 +01:00
parent b00a24af60
commit 1c68979fb4
3 changed files with 17 additions and 11 deletions

View File

@@ -1021,7 +1021,7 @@ unsigned int wxGCD(unsigned int u, unsigned int v)
// wxCTZ
// Count trailing zeros. Use optimised builtin where available.
// ----------------------------------------------------------------------------
unsigned int wxCTZ(unsigned x)
unsigned int wxCTZ(wxUint32 x)
{
wxCHECK_MSG(x > 0, 0, "Undefined for x == 0.");
#ifdef __GNUC__