Steve Peters via RT wrote:
> Acutally, everything looking a return value from SvFLAGS(sv) should be
> looking for a U32.  Since I'd like to "automate" these changes as much
> as possible, how does the following look?  

Fine, but probably all other docs for SvFLAGS bit tests need the same
change, no ?

> --- sv.h.old    Sat Sep 10 20:30:54 2005
> +++ sv.h        Sat Sep 10 20:30:47 2005
> @@ -703,8 +703,8 @@
>                                     SvFLAGS(sv) |= (SVf_NOK|SVp_NOK))
>  
>  /*
> -=for apidoc Am|bool|SvUTF8|SV* sv
> -Returns a boolean indicating whether the SV contains UTF-8 encoded data.
> +=for apidoc Am|U32l|SvUTF8|SV* sv
> +Returns a U32 value indicating whether the SV contains UTF-8 encoded data.
>  
>  =for apidoc Am|void|SvUTF8_on|SV *sv
>  Turn on the UTF-8 status of an SV (the data is not changed, just the flag).
> 
> 
> There will probably need to be some changes in the core as well where
> any of Sv*OK-like macros are on the right side of an assignment.

Reply via email to