[svn] commit: r1919 - /branches/feng-authnotify/src/lib/dns/python_dns.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Tue May 25 13:58:59 UTC 2010


Author: hanfeng
Date: Tue May 25 13:58:59 2010
New Revision: 1919

Log:
fix build error caused by name interface modification

Modified:
    branches/feng-authnotify/src/lib/dns/python_dns.cc

Modified: branches/feng-authnotify/src/lib/dns/python_dns.cc
==============================================================================
--- branches/feng-authnotify/src/lib/dns/python_dns.cc (original)
+++ branches/feng-authnotify/src/lib/dns/python_dns.cc Tue May 25 13:58:59 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