BIND 10 trac905, updated. 4472e3c7cbfb5fd33ce575bd2666036d363b2ce2 [trac905] clarified in comments which calls to PyArg_ParseTuple() in TSIGError_init correspond to which C++ constructors.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri May 13 17:14:53 UTC 2011


The branch, trac905 has been updated
       via  4472e3c7cbfb5fd33ce575bd2666036d363b2ce2 (commit)
      from  a1a58a7382e82256f3f6785b7bebfa4643cced67 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4472e3c7cbfb5fd33ce575bd2666036d363b2ce2
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Fri May 13 10:13:51 2011 -0700

    [trac905] clarified in comments which calls to PyArg_ParseTuple()
    in TSIGError_init correspond to which C++ constructors.

-----------------------------------------------------------------------

Summary of changes:
 doc/Doxyfile                           |    4 ++--
 src/lib/dns/python/tsigerror_python.cc |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/doc/Doxyfile b/doc/Doxyfile
index a57d275..f82d933 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -1139,7 +1139,7 @@ MAN_LINKS              = NO
 # generate an XML file that captures the structure of
 # the code including all documentation.
 
-GENERATE_XML           = NO
+GENERATE_XML           = YES
 
 # The XML_OUTPUT tag is used to specify where the XML pages will be put.
 # If a relative path is entered the value of OUTPUT_DIRECTORY will be
@@ -1164,7 +1164,7 @@ XML_DTD                =
 # and cross-referencing information) to the XML output. Note that
 # enabling this will significantly increase the size of the XML output.
 
-XML_PROGRAMLISTING     = YES
+XML_PROGRAMLISTING     = NO
 
 #---------------------------------------------------------------------------
 # configuration options for the AutoGen Definitions output
diff --git a/src/lib/dns/python/tsigerror_python.cc b/src/lib/dns/python/tsigerror_python.cc
index 2e822ad..afabf7a 100644
--- a/src/lib/dns/python/tsigerror_python.cc
+++ b/src/lib/dns/python/tsigerror_python.cc
@@ -92,6 +92,7 @@ PyMethodDef TSIGError_methods[] = {
 int
 TSIGError_init(s_TSIGError* self, PyObject* args) {
     try {
+        // Constructor from the code value
         long code = 0;
         if (PyArg_ParseTuple(args, "l", &code)) {
             if (code < 0 || code > 0xffff) {
@@ -102,6 +103,7 @@ TSIGError_init(s_TSIGError* self, PyObject* args) {
             return (0);
         }
 
+        // Constructor from Rcode
         s_Rcode* py_rcode;
         if (PyArg_ParseTuple(args, "O!", &rcode_type, &py_rcode)) {
             self->cppobj = new TSIGError(*py_rcode->cppobj);




More information about the bind10-changes mailing list