[svn] commit: r1915 - /trunk/src/lib/dns/python_dns.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Tue May 25 10:55:26 UTC 2010


Author: hanfeng
Date: Tue May 25 10:55:25 2010
New Revision: 1915

Log:
modify python_dns.cc according to name interface modification

Modified:
    trunk/src/lib/dns/python_dns.cc

Modified: trunk/src/lib/dns/python_dns.cc
==============================================================================
--- trunk/src/lib/dns/python_dns.cc (original)
+++ trunk/src/lib/dns/python_dns.cc Tue May 25 10:55:25 2010
@@ -300,7 +300,8 @@
        .def("to_wire", (void (Name::*)(MessageRenderer &)const)&Name::toWire)
        .def("to_wire", (void (Name::*)(OutputBuffer&)const)&Name::toWire)
        .def("compare", &Name::compare)
-       .def("split", &Name::split)
+       .def("split", (Name(Name::*)(unsigned int, unsigned int)const)&Name::split)
+       .def("split", (Name(Name::*)(unsigned int)const)&Name::split)
        .def("concatenate", &Name::concatenate)
        .def("downcase", &Name::downcase, return_value_policy<reference_existing_object>())       
        .def("is_wildcard", &Name::isWildcard)




More information about the bind10-changes mailing list