BIND 10 trac1028, updated. a1e64504a4d039b4c7f7434451f169c475a1a35a [1028] comment clarification
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Oct 26 13:59:44 UTC 2011
The branch, trac1028 has been updated
via a1e64504a4d039b4c7f7434451f169c475a1a35a (commit)
from 784f0a8916465d6ec9c47db9f7f3af0fbd564bed (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 a1e64504a4d039b4c7f7434451f169c475a1a35a
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed Oct 26 06:59:34 2011 -0700
[1028] comment clarification
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/python/message_python.cc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/python/message_python.cc b/src/lib/dns/python/message_python.cc
index 12e3b53..48fff94 100644
--- a/src/lib/dns/python/message_python.cc
+++ b/src/lib/dns/python/message_python.cc
@@ -411,7 +411,8 @@ Message_getRRCount(s_Message* self, PyObject* args) {
}
}
-// TODO use direct iterators for these? (or simply lists for now?)
+// This is a helper templated class commonly used for getQuestion and
+// getSection in order to build a list of Message section items.
template <typename ItemType, typename CreatorParamType>
class SectionInserter {
typedef PyObject* (*creator_t)(const CreatorParamType&);
@@ -434,6 +435,7 @@ private:
typedef SectionInserter<ConstQuestionPtr, Question> QuestionInserter;
typedef SectionInserter<ConstRRsetPtr, RRset> RRsetInserter;
+// TODO use direct iterators for these? (or simply lists for now?)
PyObject*
Message_getQuestion(PyObject* po_self, PyObject*) {
const s_Message* const self = static_cast<s_Message*>(po_self);
More information about the bind10-changes
mailing list