[Ns-developers] uint16_t const parameter?
Tom Henderson
tomh at tomh.org
Fri Dec 28 06:54:13 PST 2007
Gustavo Carneiro wrote:
> Hi,
>
> I am working on python bindings, and I see this:
>
> static void ns3::PointToPointTopology::SetIpv4Metric(ns3::Ptr<const
> ns3::PointToPointChannel> chan, ns3::Ptr<ns3::Node> n1, ns3::Ptr<ns3::Node>
> n2, uint16_t const metric)
>
> I am wondering what is the point of "uint16_t const metric" and why it can't
> be just "uint16_t metric". Any thoughts? I mean, I could easily support it
> in the python bindings, but it seems kind of silly anyway, unless I miss
> something...
>
> Thanks,
>
Yes, that was silly-- fixed now.
Tom
More information about the Ns-developers
mailing list