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:
@@ -150,6 +150,9 @@ inline int wxRound(double x)
|
||||
inline double wxDegToRad(double deg) { return (deg * M_PI) / 180.0; }
|
||||
inline double wxRadToDeg(double rad) { return (rad * 180.0) / M_PI; }
|
||||
|
||||
// Count trailing zeros.
|
||||
WXDLLIMPEXP_BASE unsigned int wxCTZ(wxUint32 x);
|
||||
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
@@ -181,14 +184,4 @@ inline double wxRadToDeg(double rad) { return (rad * 180.0) / M_PI; }
|
||||
/* Compute the greatest common divisor of two positive integers */
|
||||
WXDLLIMPEXP_BASE unsigned int wxGCD(unsigned int u, unsigned int v);
|
||||
|
||||
#ifdef __cplusplus
|
||||
/* Count trailing zeros
|
||||
|
||||
Returns the number of trailing zeros in unsigned input x.
|
||||
|
||||
@since 3.1.2
|
||||
*/
|
||||
WXDLLIMPEXP_BASE unsigned int wxCTZ(unsigned x);
|
||||
#endif
|
||||
|
||||
#endif /* _WX_MATH_H_ */
|
||||
|
Reference in New Issue
Block a user