[Ns-developers] uint16_t const parameter?
Gustavo Carneiro
gjcarneiro at gmail.com
Fri Dec 28 06:27:05 PST 2007
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,
--
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert
More information about the Ns-developers
mailing list