Remaining conversions to std

Federico Schwindt fgsch at lodoss.net
Mon Jun 23 11:31:48 CEST 2014


Hi,

As discussed on the latest VDD I added .real (was .strtod) to the std vmod.
There are 3 remaining conversions from our list:

$Function REAL time2real(TIME)
$Function INT time2integer(TIME)
$Function TIME real2time(REAL)

They are nothing more than returning their input:

VCL_TIME __match_proto__(td_std_real2time)
vmod_real2time(const struct vrt_ctx *ctx, VCL_REAL r)
{
        (void)ctx;
        return (r);
}

Before I go ahead and add them are we happy with this or should we consider
a different route like automagic promotion for certain types?

f.-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20140623/e74fff08/attachment.html>


More information about the varnish-dev mailing list