BIND 10 master, updated. ebeb5ead60c5c0d7b16478498b78a8f1ef3b71c3 [master] (re)fixed the recent solaris build issue without relying on reinterpret_cast. okayed on jabber.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Oct 3 18:06:43 UTC 2011
The branch, master has been updated
via ebeb5ead60c5c0d7b16478498b78a8f1ef3b71c3 (commit)
from e38010819247006d20532d24de8dd6c37e0ca664 (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 ebeb5ead60c5c0d7b16478498b78a8f1ef3b71c3
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Oct 3 18:06:10 2011 +0000
[master] (re)fixed the recent solaris build issue without relying on reinterpret_cast. okayed on jabber.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/python/message_python.cc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/python/message_python.cc b/src/lib/dns/python/message_python.cc
index 6de0925..2349401 100644
--- a/src/lib/dns/python/message_python.cc
+++ b/src/lib/dns/python/message_python.cc
@@ -78,7 +78,7 @@ PyObject* Message_makeResponse(s_Message* self);
PyObject* Message_toText(s_Message* self);
PyObject* Message_str(PyObject* self);
PyObject* Message_toWire(s_Message* self, PyObject* args);
-PyObject* Message_fromWire(PyObject* const pyself, PyObject* args);
+PyObject* Message_fromWire(PyObject* pyself, PyObject* args);
// This list contains the actual set of functions we have in
// python. Each entry has
@@ -160,7 +160,7 @@ PyMethodDef Message_methods[] = {
"If the given message is not in RENDER mode, an "
"InvalidMessageOperation is raised.\n"
},
- { "from_wire", reinterpret_cast<PyCFunction>(Message_fromWire), METH_VARARGS, Message_fromWire_doc },
+ { "from_wire", Message_fromWire, METH_VARARGS, Message_fromWire_doc },
{ NULL, NULL, 0, NULL }
};
@@ -642,8 +642,8 @@ Message_toWire(s_Message* self, PyObject* args) {
}
PyObject*
-Message_fromWire(PyObject* const pyself, PyObject* args) {
- s_Message* self = static_cast<s_Message*>(pyself);
+Message_fromWire(PyObject* pyself, PyObject* args) {
+ s_Message* const self = static_cast<s_Message*>(pyself);
const char* b;
Py_ssize_t len;
unsigned int options = Message::PARSE_DEFAULT;
More information about the bind10-changes
mailing list